+ 1
Об атрибутах и поведении.
Почему в первом уроке про ООП для Java говорится об атрибутах и поведении? Во всей литературе что ранее читал для объектов были свойства и методы, это равнозначно или в Java принято именно так?
2 Antworten
+ 7
Translation:
About attributes and behavior.
Why is the first lesson about OOP for Java about attributes and behavior? In all the literature that previously read for objects were properties and methods, is it equivalent to, or is this the case in Java?
+ 5
This is also a question that I have. According to my understanding, the term "object" is used to refer to an instance of a class. The term "member" is used to refer to methods and attributes of the class. However, it is confusing when some books use "object" to refer to the latter.