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.
Learn more about String class at https://www.javaguides.net/p/java-string-api-guide.html
Comments
Post a Comment