Mapa mental
Chapter 4
Conteúdo do 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
Informações
- Descrição
- Computer Science Mapa Mental sobre Chapter 4, criado por Hadi Abdelghany em 22-01-2020.
- Criado por
- Hadi Abdelghany
- Visualizações
- 0
- Avaliação