Vocabulary Terms

Writing Classes

Back to standards

Terms

Accessor method
Class
defines a type and is used to define what all objects of that class know and can do.
Class variable
Comment
compareTo method
Constructor
Constructor overloading
Default constructor
Default variable value
equals method
Field
Instance variable
Instantiation
Javadoc
Javadoc comment
Method
Method overloading
Multi-line comment
Mutator method
No-argument constructor
Object class
Postcondition
a condition that is true after running the method
Precondition
private keyword
public keyword
Single-line comment
static keyword
means that the field or method exists in the object that defines the class.
Static method
Static variable
toString method
Visibility modifier