Zusammenfassung der Ressource
FirstTask
Anmerkungen:
- A class is a blueprint or template to create objects of identical types.
- Fields
- Data Type
- Primitive
- Compound
- Methods
Anmerkungen:
- Methods define actions that a class's objects can do.
- Return Type
- Primitive
- Void
- Main Method
Anmerkungen:
- 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
Anmerkungen:
- A method used to create a new instance (object) of the class.
- New Object (Instance)
Anmerkungen:
- An object that has fields (attributes) and can perform actions (methods) set in the class (blueprint).