Home / Questions / 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());
Explanatory Question

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());

👁 65 Views
📘 Detailed Answer
🕒 Easy to Read
Read the answer carefully and go through the related questions on the right side to improve your understanding of this topic.

Answer with Explanation

Output:
19
INFORMATIONPRACTICE