What is attribute in java?
Answers
Answered by
18
Each object of a class has his own identity by which it is distinguished from the objects of other classes. These characteristics, which make it different are called attributes.
♯Be Brainly✔✅
✍✍✍✍✍✍
⊰᯽⊱┈──╌❊╌──┈⊰᯽⊱
♯Be Brainly✔✅
✍✍✍✍✍✍
⊰᯽⊱┈──╌❊╌──┈⊰᯽⊱
Answered by
3
卄乇ㄥㄥㄖ
An attribute is another term for a field. It's typically a public constant or a public variable that can be accessed directly. In this particular case, the array in Java is actually an object and you are accessing the public constant value that represents the length of the array.
An attribute is another term for a field. It's typically a public constant or a public variable that can be accessed directly. In this particular case, the array in Java is actually an object and you are accessing the public constant value that represents the length of the array.
Similar questions