Multiple choice technology programming languages

A final class can be extended

  1. True

  2. False

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

A final class in Java cannot be extended (inherited from). The final keyword prevents subclassing by design. This is used when you want to prevent modification or extension of a class for security, design, or performance reasons.