Which statement about Java String objects is true?

Which statement about Java String objects is true?

  1. A.

    String is implemented as a primitive data type.

  2. B.

    A String object must be explicitly destroyed when it is no longer in use.

  3. C.

    Once a String object is created, its contents cannot be changed.

  4. D.

    A String object can be copied by using the == operator.

Attempted by 71 students.

Sign up free to check your answer

Sign up free

Explore the full course: Isro

Loading lesson…