Computer Science, asked by RoYaLStRaNgEr, 4 months ago

Write the output of the following code segment:

Class test {

Public static void main () {

System.out.println(10 + 20 + “good”);

System.out.println(“good” + 10 + 20); } }​

Answers

Answered by Anonymous
0

Answer:

30good

good30

Explanation:

Output should be copied exactly the same. So the output will be this only including the next line.

Similar questions