Computer Science, asked by macncheese46, 2 days ago

Write the output of the following Java snippet :

i. System.out.print(“Hello World”); System.out.print(“My First Program”);
iv f$
ii. int n = 9; String st = “Sumitha Arora”; System.out.print(“Name =”+st+”\nClass =”+n);

Answers

Answered by somnath91101
1

Answer:

1) Hello WorldMy First Program

2) Name = Sumitha Arora

Class=9

Hope it helps :)

Similar questions