HomeQuizCore Java Bank PO MCQ Questions With Answers
local_fire_department 1/20
schedule 0:00

1. Java language was initially called as ________

2. Earlier name of Java Programming language was –

3. JDK stands for

4. What will be the output of the following Java program?class mainclass {public static void main(String args[]){char a = 'A';a++;System.out.print((int)a);}}

5. Data type long literals are appended by _____

6. What will be the output of the following Java program? class mainclass { public static void main(String args[]) { boolean var1 = true; boolean var2 = false; if (var1) System.out.println(var1); else System.out.println(var2); } }

7. Command to compile Java program

8. The command javac

9. The icon of Java program is taken from ___.

10. Java Programming was designed by ______

11. Java was developed in which year

12. In Java EE, EE stands for ___.

13. A ___________ file is created after successful compilation of a Java program.

14. Command to run a Java program

15. What will be the output of the following Java program?class array_output { public static void main(String args[]) { char array_variable [] = new char[10]; for (int i = 0; i < 10; ++i) { array_variable[i] = 'i'; System.out.print(array_variable[i] + "" ); i++; } } }

16. The name of the following should be the file name in Java

17. Which of the following personality is called as father of Java Programming language –

18. Which concept of Java is a way of converting real world objects in terms of class?

19. What will be the output of the following Java code? class increment { public static void main(String args[]) { int g = 3; System.out.print(++g * 8); } }

20. Java program is