Skip to main content

Java Topic Practice

String Concatenation

String Concatenation MCQ Practice

Question 1 of 15

Answered 0 of 15

Choose one answer.

What is printed by the following code segment?

String tag = "ALGO";
int x = 18;
int y = 3;
int z = 5;
System.out.print(tag + (x + y) + z);
Choose one answer.