5.4 Accessor Methods
-
Incorrect
Correct
No Answer was selected
Invalid Answer
Vocabulary
Term | Definition |
---|---|
Accessor Method | A method that enables user to obtain information about an object’s instance and static variables. |
toString Method | A specific accessor method that returns a String value with information about an object’s instance values. This overrides the object’s inherit toString method when an object is printed using System.out.print or System.out.println |