Is it possible to inherit from the class java.lang.String?
Explanation
No it isn't, because the String class is declared as final.

Follow CodeGalaxy

Mobile Beta

Get it on Google Play
Send Feedback
Keep exploring
Java quizzes
Cosmo
Sign Up Now
or Subscribe for future quizzes