Mind map
FirstTask
Map content
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
Information
- Description
- Computer Science Mind Map on FirstTask, created by Teddy Amde on 10/09/2020.
- Created by
- Teddy Amde
- Views
- 0
- Rating