Basic Syntax


  1. 'Tiger' was the code name for which version of java?









  1. View Hint View Answer Discuss in Forum

    'Tiger' was the code name for Java 5.

    Version Name Code Name Release Date
    JDK 1.0OakJanuary 1996
    JDK 1.1(none)February 1997
    J2SE 1.2PlaygroundDecember 1998
    J2SE 1.3KestrelMay 2000
    J2SE 1.4MerlinFebruary 2002
    J2SE 5.0TigerSeptember 2004
    Java SE 6MustangDecember 2006
    Java SE 7DolphinJuly 2011
    Java SE 8March 2014
    Java SE 9September, 21st 2017
    Java SE 10March, 20th 2018

    Correct Option: A

    'Tiger' was the code name for Java 5.

    Version Name Code Name Release Date
    JDK 1.0OakJanuary 1996
    JDK 1.1(none)February 1997
    J2SE 1.2PlaygroundDecember 1998
    J2SE 1.3KestrelMay 2000
    J2SE 1.4MerlinFebruary 2002
    J2SE 5.0TigerSeptember 2004
    Java SE 6MustangDecember 2006
    Java SE 7DolphinJuly 2011
    Java SE 8March 2014
    Java SE 9September, 21st 2017
    Java SE 10March, 20th 2018


  1. What is use of interpreter?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: D

    Interpreters read high level language (interprets it) and execute the program. Interpreters are normally not passing through byte-code and jit compilation.



  1. How can we identify whether a compilation unit is class or interface from a .class file?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: D

    The Java source file contains a header that declares the type of class or interface, its visibility with respect to other classes, its name and any superclass it may extend, or interface it implements.


  1. What is the extension of compiled java classes?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: B

    The compiled java files have .class extension.



  1. What is the extension of java code files?











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: D

    ava files have .java extension.