🎴 Flashcard Mode

Java Programming Fundamentals

Card1 / 20
Mastered0
Review0
QuestionClick to flip

A static method can refer to any instance variable of the class.

AnswerClick to flip back
A
False
💡 Explanation:

Static methods belong to the class itself, not to any specific instance. They can only access static variables (class variables) and cannot directly reference instance variables, which require an object instance to exist. This is a fundamental Java concept regarding method types and variable scope.

Change Mode