|
|
|
|
|
by Mikhail_Edoshin
32 days ago
|
|
Data will indeed be necessary. But data in OOP are interesting: they are not supposed to be directly visible. They are like the method body: there is one, but it is not important what it is. So if we add data, it will be that: class Aaaa
(some data)
method bbbb():
(some code)
Do you think this is an object now? |
|