Multiple choice technology platforms and products

We can extends String class.

  1. True

  2. False

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

In Java, the String class is declared as final, which prevents any class from extending it. Therefore, you cannot inherit from or extend the String class.