Which of the following statements are true? Select the two correct answers. (a) String objects are immutable.

Question:

Which of the following statements are true?

Select the two correct answers.

(a) String objects are immutable.

(b) Subclasses of the String class can be mutable.

(c) All wrapper classes are declared as final.

(d) All objects have a public method named clone.

(e) The expression ((new char[] {'o', 'k'}) instanceof String) is always true.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: