Mind map
Chapter 4
Map content
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
Information
- Description
- Computer Science Mind Map on Chapter 4, created by Hadi Abdelghany on 01/22/2020.
- Created by
- Hadi Abdelghany
- Views
- 0
- Rating