Consider the statements below:

String a = "JAVA: ";
String b = "How to ";
String c = "Program";
Which of the statements below will create the String r1 = "JAVA: How to Program"?
a. String r1 = c.concat(b.concat(a));
b. String r1 = a.concat(b.concat(c));
c. String r1 = b.concat(c.concat(a));
d. String r1 = c.concat(c.concat(b));


b. String r1 = a.concat(b.concat(c));

Computer Science & Information Technology

You might also like to view...

What option in NTFS supports reducing the amount of space needed to store a file?

A. compaction B. compression C. condensation D. contraction

Computer Science & Information Technology

The ASK 1 bit has a carrier signal (positive voltage) while a 0 bit has no signal (zero voltage).

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

Which of the following will the hyperlink data type not link to?

A) File stored only in RAM B) Email address C) Website D) File on your computer

Computer Science & Information Technology

Which of the following is the common port number for FTP data using TCP?

A) 20 B) 25 C) 23 D) 69

Computer Science & Information Technology