Multiple choice technology programming languages

Every method of a final class is implicitly final

  1. True

  2. False

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

A final class cannot be subclassed, so all its methods are effectively non-overridable. While 'implicitly final' in the practical sense (they cannot be overridden), the methods themselves don't have the final keyword applied to them individually.

AI explanation

True. Although Java doesn't require you to explicitly write the 'final' keyword on methods of a final class, all methods of a final class are effectively (and per the Java Language Specification, implicitly) final — since the class itself cannot be subclassed, none of its methods can ever be overridden, which is exactly what marking a method 'final' means. This is a commonly tested Java certification (SCJP/OCJP) fact: you don't need to redundantly mark methods final in a final class because they already behave as final by virtue of the class being final.