Computer Applications

Which of these class is superclass of String and StringBuffer class?

  1. java.util
  2. java.lang
  3. ArrayList
  4. None of the mentioned

Java String Handling

7 Likes

Answer

java.lang

Reason — java.lang is the superclass of String and StringBuffer class.

Answered By

5 Likes


Related Questions