XtraStudy Header LOGO Home
Java Interview Questions
Question 11
Q.11 What is Java Virtual Machine and how it is considered in context of Java's platform independent feature ?

When Java is compiled, it is not compiled into platform specific machine, rather into platform independent byte code. This byte code is distributed over the web and interpreted by virtual Machine (JVM) on whichever platform it is being run.

Question 12
Q.12 What is JIT compiler ?

Just-In-Time (JIT) compiler: It is used to improve the performance. JIT compiles parts of the byte code that have similar functionality at the same time, and hence reduces the amount of time needed for compilation. Here the term "compiler" refers to a translator from the instruction set of a Java virtual machine (JVM) to the instruction set of a specific CPU.

Question 13
Q.13 List two Java IDE's ?

Netbeans, Eclipse, etc.

Question 14
Q.14 Name some Java keywords (unlike C, C++ keywords) ?

Some Java keywords are import, super, finally, etc.

Question 15
Q.15 What do you mean by Object ?

Object is a runtime entity and it's state is stored in fields and behavior is shown via methods. Methods operate on an object's internal state and serve as the primary mechanism for object-to-object communication.


Comments (0)

 XtraStudy ADVT Skill India