Thursday 20 June 2013

Objective Question for Java Lovers

Short Java Questions


Q.1 ) JAR stand for -------

-->         Java Archive

 

Q.2)  Command which is used to see the details of compilation --

-->       Javac -verbose  Test.java

Q.3)  Select the keywords in java :

a) Assert            Keyword

b) transient       Keyword 

c) Script fp        Keyword      

d) instance of    Keyword   

e) finalize          Not Keyword


Q.4)  //   /* Nesting of comment  */    is it true in Java ?

--->   True.


Q.5)   Can we run the same java program on different enviroment  with same version of JDK ?

--->  No


Q.6) The compiler and other java development tool reside in  -----------  sub folder ?

--->   bin


Q.7) The library containing files needed to integrate java programs written in other languages reside inside following sub folder ------- ?

--->    include

 

Q.8) Java has ----  no. of primitive data types ?

-->   8   such as  byte,   short, int, long, char, float, double, boolean.

 


    


1 comment:

Search This Blog

Total Pageviews