Classes & Objects Flashcards
1
Q
Class Signature
A
The first line of a class, has to have name of class starting with a capital letter, has curly brackets after, the material inside of the class go between the curly brackets.
2
Q
Instance Variables
A
A variable that belongs to a class and occurs right after the class signature line.
3
Q
Instantiating a class
A
Creating an object or instance of a class so that it can be used in a program. The object will share the instance variables and methods of the class.