Select all the classes that extend the String class

Select all the classes that extend the String class

a) StringBuffer
b) StringBuilder
c) StringWriter
d) None

Answer:

d) None

Explanation:

The String is a final class, so you can't extend it.

Free Spring Boot Tutorial - 5 Hours Full Course


Watch this course on YouTube at Spring Boot Tutorial | Fee 5 Hours Full Course