On 20 Sep., 11:23, candide <cand...@free.i nvalidwrote:
This is somewhat true. But what is OO, really?
Answer: if you want to define an entity it has to be defined inside a
class. If you want to access an entity you have to use the dot
operator. Therefore Java is OO but Python is not.
Excerpt quoted fromhttp://www.astro.ufl.e du/~warner/prog/python.html:
>
"About Python: Python is a high level scripting language with object
oriented features.
(...)
Python supports OOP and classes to an extent, but is not a full OOP
language."
>
Thanks for any comment.
>
"About Python: Python is a high level scripting language with object
oriented features.
(...)
Python supports OOP and classes to an extent, but is not a full OOP
language."
>
Thanks for any comment.
Answer: if you want to define an entity it has to be defined inside a
class. If you want to access an entity you have to use the dot
operator. Therefore Java is OO but Python is not.
Comment