Suppose the String variable str points to the String object "Sunny day" at the memory address 3600. Then the value of str is:
A) the memory address 3600
B) "Sunny day"
C) 3600 + "Sunny day"
D) None of these
Correct Answer:
Verified
Q2: String variables are reference variables.
Q11: In a format specifier, the option width
Q21: Which of the following method is contained
Q22: What will most probably happen if you
Q23: What is the value of the following
Q25: In Java, all variables declared using a
Q26: The class JOptionPane allows a programmer to
Q27: An expression such as str.length(); is an
Q28: Which package is automatically imported by the
Q29: There are _ type(s) of methods in
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents