Recent questions tagged #java-program

0 votes
    What is the output of the following Java program? class Test { int i; } public class Main { public static void main (String ... test = new Test(); System.out.println(test.i); } }...
asked Nov 19, 2020 in Education by Editorial Staff
0 votes
    What is the output of the following Java program? public class Test { Test(int a, int b) { System.out.println("a = "+a+" b = "+ ... 10; byte b = 15; Test test = new Test(a,b); } }...
asked Nov 19, 2020 in Education by Editorial Staff
0 votes
    What is the output of the following Java program? What is the output of the following Java program? class Test { public static ... ) { System.out.println("Hello Javatpoint"); } } }...
asked Nov 17, 2020 in Education by Editorial Staff
0 votes
    What is the output of the following Java program? class Test { public static void main (String args[]) { System.out.println(10 ... * 20); } } The output of the above code will be...
asked Nov 17, 2020 in Education by Editorial Staff
0 votes
    What is the output of the following Java program? class Test { public static void main (String args[]) { System.out.println(10 ... ; System.out.println("Javatpoint" + 10 + 20); } }...
asked Nov 17, 2020 in Education by Editorial Staff
To see more, click for the full list of questions or popular tags.
...