Solved

Which of the Following Will Create a String Different from the Other

Question 25

Multiple Choice

Which of the following will create a String different from the other three?


A) String r = "123456"
B) int i = 123; int j = 456;
String r = String.valueOf(j) + String.valueOf(i) ;
C) int i = 123; int j = 456;
String r = String.valueOf(i) + String.valueOf(j) ;
D) int i = 123; int j = 456;
String r = i + j;

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions