Multiple choice technology programming languages

Find the true statements, A. Final class cant be inherited. B. Abstract class cant be instantiated. C. Abstract class can be inherited.

  1. Only A & B

  2. Only B & C

  3. Only A & C

  4. A,B and C

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

A final class is restricted from being inherited or subclassed (A). An abstract class cannot be instantiated directly using the new keyword (B). However, abstract classes can and are intended to be inherited by concrete subclasses (C), making all statements true.