+ 1

Об атрибутах и поведении.

Почему в первом уроке про ООП для Java говорится об атрибутах и поведении? Во всей литературе что ранее читал для объектов были свойства и методы, это равнозначно или в Java принято именно так?

28th Dec 2017, 1:12 PM
Виктор «Vicos» Лахов
Виктор «Vicos» Лахов - avatar
2 Answers
+ 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?
28th Dec 2017, 1:23 PM
jay
jay - avatar
+ 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.
28th Dec 2017, 2:45 PM
Hatsy Rei
Hatsy Rei - avatar