Question
Which statement about Abstraction is the strongest interview answer?
- Abstraction is mostly a naming style choice and has little effect on runtime or design.
- Abstraction exists mainly to reduce the number of Java files in a project.
- Abstraction matters only for frontend frameworks, not for core Java applications.
- Abstraction hides implementation details behind a smaller, stable contract.
Hint
Start with the core rule behind Abstraction.
Answer and rationale
Correct answer: D. Abstraction hides implementation details behind a smaller, stable contract.
Abstraction hides implementation details behind a smaller, stable contract. This is the base concept interviewers commonly test first.
Track: Java