Java Basic code snippet based Question
1. What will be the output of the following code? java public class Test { public static void main(String[] args) { System.out.println(“Hello, World!”); } } a) Hello, Worldb) Hello, World!c) Compilation Errord) Runtime Error 2. What will be the output of the following code? java public class Test { public static void … Read more