Solved

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

Question 3

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

Related Questions

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents