What are attributes of an object in Java?

The attributes of an object are variables that hold information, or data, about the object while its methods are ways the object can manipulate its data to create new data.

Sizin İçin Seçtik  What is the purpose of instance?

Leave a Reply

Your email address will not be published. Required fields are marked *