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
Programmers Guide To Java SE 8 Oracle Certified Associate OCA
ISBN: 9780132930215
1st Edition
Authors: Khalid Mughal, Rolf Rasmussen
Question Posted: