Mapa mental
FirstTask
Contenido del mapa
FirstTask
An object must have attributes and actions it can perform, but it can also be on or the other
- Actions are reffered to as methods
- Can be void, method returns nothing
- Attributes referred to as fields
- Fields are variables
- Fields can refer to another object
- Constructor used to construct an object
- Common way of creating object: using "new" keyword
- "This" keyword to refer to current object
- Actions are reffered to as methods
A class is a blueprint/template to create objects that are identical
- Must consider: class name, fields, and methods
- Class must have at least one constructor
UML Class Diagram: top - class name, middle - fields, bottom - methods
"Final" makes the value of variable declaration unchangeable
Garbage collector destroys unused objects and clears memory
Información
- Descripción
- Computer Science Mapa Mental sobre FirstTask, creado por Teddy Amde el 10/09/2020.
- Creado por
- Teddy Amde
- Visitas
- 0
- Valoración