Write the output of the following code :-

String x;
String str = "INFORMATION";
x = str.concat("PRACTICE");

System.out.println(x.length());
System.out.println(x.toUpperCase());

Single Choice
Views 63

Answer:

Output:
19
INFORMATIONPRACTICE

Related Articles:

This section is dedicated exclusively to Questions & Answers. For an in-depth exploration of Java Programming Language, click the links and dive deeper into this subject.

Join Our telegram group to ask Questions

Click below button to join our groups.