Mapa mental
Chapter 4
Contenido del mapa
Chapter 4
Classes
- Features of Classes
- Attributes
- Describes data that a class holds
- AKA fields
- Methods
- Describes the actions a class can perform
- Can either accept arguments as input, return a value as output, or both
- Name
- Made using keyword "class" followed by a name for the class
- Starts with a capital letter by convention
- Constructor and file name of class must be the same as the class name
- Made using keyword "class" followed by a name for the class
- Attributes
- Can create multiple instances of classes
- Each instance is a separate object
- Each instance can have unique data in attributes
- Maintains same set of attributes and methods
- Each instance can have unique data in attributes
- Each instance is a separate object
- Features of Classes
Abstraction
- Representing real world concepts in code through classes
Información
- Descripción
- Computer Science Mapa Mental sobre Chapter 4, creado por Hadi Abdelghany el 22/01/2020.
- Creado por
- Hadi Abdelghany
- Visitas
- 0
- Valoración