What are the attributes of Java?

Attributes in a Class in Java Behaviors are the tasks that the Person class can perform . For example, if the person can speak, eat, dance, sing and, sleep these are the person’s behaviors. In other words, attributes are fields declared inside an object.29 Ara 2021

Sizin İçin Seçtik  What is a public method in Java?

Leave a Reply

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