XtraStudy Header LOGO Home
Java Interview Questions
Question 6
Q.6 What is the main difference between Java platform and other platforms ?

The Java platform differs from most other platforms in the sense that it's a software-based platform that runs on top of other hardware-based platforms. It has two components :

1. Runtime Environment
2. API(Application Programming Interface)

Question 7
Q.7 Why is Java Architectural Neutral ?

Java compiler generates an architecture-neutral object file format, which makes the compiled code to be executable on many processors, with the presence of Java runtime system.

Question 8
Q.8 Why Java is considered dynamic ?

Java is designed to adapt to an evolving environment. Java programs can carry extensive amount of run-time information that can be used to verify and resolve accesses to objects on run-time.

Question 9
Q.9 How Java enabled High Performance ?

Java uses Just-In-Time compiler to enable high performance. Just-In-Time compiler is a program that turns Java bytecode, which is a program that contains instructions that must be interpreted into instructions that can be sent directly to the processor.

Question 10
Q.10 What gives Java its 'write once and run anywhere' nature ?

The bytecode. Java is compiled to be a byte code which is the intermediate language between source code and machine code. This byte code is not platform specific and hence can be fed to any platform.


Comments (0)

 XtraStudy ADVT Skill India