Computer Science, asked by KaraHart, 1 year ago

What are the attributes required for class declaration in Java?

Answers

Answered by mitkutparsad65paidjl
5
  • 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