• 1. 
    Java language was initially called as ________

  • Sumatra
  • J++
  • Oak
  • Pine
  • 2. 
    Earlier name of Java Programming language was –

  • Eclipse
  • D
  • Oak
  • Netbean
  • 3. 
    JDK stands for

  • Java Developer Kit
  • Java Development Kit
  • Java Design Kit
  • Java Debugging Kit
  • 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);}}

  • 66
  • 67
  • 65
  • 64
  • 5. 
    Data type long literals are appended by _____

  • Uppercase L
  • Lowercase L
  • Long
  • Both Uppercase L & Lowercase L
  • 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); } }

  • 0
  • 1
  • true
  • false
  • 7. 
    Command to compile Java program

  • javax
  • javay
  • javac
  • Java
  • 8. 
    The command javac

  • Converts a java program into binary code
  • Converts a java program into bytecode
  • Converts a java program into machine language
  • None of the above.
  • 9. 
    The icon of Java program is taken from ___.

  • a cup of coffee
  • a tornado that spits fire
  • a volcano under water
  • a candle with a flame
  • 10. 
    Java Programming was designed by ______

  • Sun MicroSystems
  • Mozilla Corporation
  • Microsoft
  • Amazon Inc.
  • 11. 
    Java was developed in which year

  • 1992
  • 1993
  • 1994
  • 1995
  • 12. 
    In Java EE, EE stands for ___.

  • Entertainment Edition
  • Entrepreneur Edition
  • Enterprise Emperor
  • Enterprise Edition
  • 13. 
    A ___________ file is created after successful compilation of a Java program.

  • Object file
  • Array file
  • Class file
  • String file
  • 14. 
    Command to run a Java program

  • javaa
  • java
  • jaava
  • jaavaa
  • 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++; } } }

  • i i i i i
  • 0 1 2 3 4
  • i j k l m
  • None of the mentioned
  • 16. 
    The name of the following should be the file name in Java

  • Object Name
  • Variable Nam
  • Class Name
  • Array Name
  • 17. 
    Which of the following personality is called as father of Java Programming language –

  • Guido vom Russom
  • Larry Page
  • Bjarne Stroustrup
  • James Gosling
  • 18. 
    Which concept of Java is a way of converting real world objects in terms of class?

  • Polymorphism
  • Encapsulation
  • Abstraction
  • Inheritance
  • 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); } }

  • 25
  • 24
  • 32
  • 33
  • 20. 
    Java program is

  • Interpreted
  • Compiled
Report Question
warning
access_time
  Time