← Quiz: Inheritance and Polymorphism: all 10 questions
Quiz: Inheritance and Polymorphism · Question 4 of 10
Which class can't be extended?
Which class can't be extended?
- A.Object
- B.String
- C.ArrayList
- D.Exception
Answer & explanation
Correct answer: String
String is declared final.
Can you get the rest right without peeking?
Take the timed Quiz: Inheritance and Polymorphism quiz free. Pass it to earn XP and count towards your certificate.
Start the quiz →