HardJava Core

What does the 'final' keyword mean when applied to a class, a method, and a variable respectively?

Tests your understanding of this concept.

Answer Options

Aclass=cannot instantiate, method=cannot call, variable=cannot read
Bclass=cannot extend, method=cannot override, variable=cannot reassign
Cclass=cannot serialize, method=cannot override, variable=cannot reassign
Dclass=cannot extend, method=cannot call, variable=cannot reassign

Want to see the correct answer?

Get the answer with a detailed explanation, plus practice 20+ more Java Core questions with adaptive quizzes and timed interviews.

See the Answer on Guru Sishya →

This question is from the Java Core topic (Programming Languages).

More Java Core Questions