A class contains data field descriptions (or properties, fields, data members, or attributes) . These are usually field types and names that will be associated with state variables at program run time; these state variables either belong to the class or specific instances of the class.
Read moreWhat are the main parts of a class in Java?
There are three major components of class in Java.
Read more