A class is a blueprint or template to create objects of identical types.
Fields
Data Type
Primitive
Compound
Methods
Anotações:
Methods define actions that a class's objects can do.
Return Type
Primitive
Void
Main Method
Anotações:
A special method called main provides the entry point to an application. An application normally has many classes and only one of the classes needs to have a main method.
Object
Contstructors
Anotações:
A method used to create a new instance (object) of the class.
New Object (Instance)
Anotações:
An object that has fields (attributes) and can perform actions (methods) set in the class (blueprint).