5.7 Static Variables and Methods
-
Incorrect
Correct
No Answer was selected
Invalid Answer
Vocabulary
Term | Definition |
---|---|
Static Variables | Variables that can be accessed by all objects of a class. They are called using the class name, and can be used in static and non-static methods. |
Static Methods | Methods that can be used directly by the class name. They cannot access instance variables or non-static methods. |