🎴 Flashcard Mode
Java Programming Fundamentals
Card1 / 14
Mastered0
Review0
QuestionClick to flip
What is the advantage of using import statements?
AnswerClick to flip back
A
To refer to a class without using prefixes.
💡 Explanation:
Java import statements allow you to reference classes by their simple names instead of fully-qualified names. They don't affect variable declaration (A), method calling (C), or handle images (D). Imports are purely a compile-time naming convenience.