One characteristic of Java is portability, which means that computer programs written in the Java language must run similarly on any hardware/operating-system platform. This is achieved by compiling the Java language code to an intermediate representation called Java bytecode, instead of directly to platform-specific machine code. Java bytecode instructions are analogous to machine code, but are intended to be interpreted by a virtual machine (VM) written specifically for the host hardware. End-users commonly use a Java Runtime Environment (JRE) installed on their own machine for standalone Java applications, or in a Web browser for Java applets.
Standardized libraries provide a generic way to access host-specific features such as graphics, threading, and networking.
A major benefit of using bytecode is porting. However, the overhead of interpretation means that interpreted programs almost always run more slowly than programs compiled to native executables would. Just-in-Time compilers were introduced from an early stage that compile bytecodes to machine code during runtime.
Keywords: core jave,java, interview, Question, java, cpp, exam, scjp, standard java, head first java.
This free app is ad supported and may contain ads in the notification tray.
Tags: java interview q&a, java interview code, interrview q&a, java interview q&a tutorial, java tutorial, and java.
Limited Trail version has been removed, You can read full version now. Covering interview questions and answers on all the topics. No more Limited version.
Unwanted permissions has been removed