Java: Which statement about Abstraction is the strongest interview answer?

Difficulty:

Easy

Questions:

1

Time Limit:

2 minutes

Passing Score:

100%

Question

Which statement about Abstraction is the strongest interview answer?

  1. Abstraction is mostly a naming style choice and has little effect on runtime or design.
  2. Abstraction exists mainly to reduce the number of Java files in a project.
  3. Abstraction matters only for frontend frameworks, not for core Java applications.
  4. 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