What are the attributes of a class in Java?

A class is an element in object oriented programming that aggregates attributes(fields) – which can be public accessible or not – and methods(functions) – which also can be public or private and usually writes/reads those attributes .

Sizin İçin Seçtik  Araba satın alırken para nasıl ödenir?

Leave a Reply

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