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
1
Answer:
1) Hello WorldMy First Program
2) Name = Sumitha Arora
Class=9
Hope it helps :)
Similar questions