Flashcards in Unit 5: Writing Classes Deck (4)
What are the "big three"?
1. The instance variables
2. Accessor and Mutator methods
3. A toString method
What differentiates private and public variables?
A private variable can only be directly accessed from within the class. A public variable can be accessed from outside the class.
an instance method that gets the value of a property of an object