why java is platform independent?

Answer Posted / guest

Java is compiled to an intermediate form called byte-code.
A Java program never really executes natively on the host
machine. Rather a special native program called the Java
interpreter reads the byte code and executes the
corresponding native machine instructions. Thus to port
Java programs to a new platform all that is needed is to
port the interpreter and some of the library routines. Even
the compiler is written in Java. The byte codes are
precisely defined, and remain the same on all platforms.

Is This Answer Correct ?    36 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Cluster head selection in Wireless Sensor Network using C programming language.

3119


could you please send the program code for multiplying sparse matrix in c????

3079


write a program for area of circumference of shapes

2040


How to palindrom string in c language?

8898


Can you send Code for Run Length Encoding Of BMP Image in C Language in linux(i.e Compression and Decompression) ?

3861






write a c program to input initial & final time in the format hh:mm and find the time intervel between them? Ex inputs are initial 06:30 final 00:05 and 23:22 final 22.30

2228


why do you use macros? Explain a situation where you had to incorporate macros in your proc report? use a simple instream data example with code ?

2267


Sir... please give some important coding questions asked by product companies..

1805


can you use proc sql to manpulate a data set or would u prefer to use proc report ? if so why ? make up an example and explain in detail

2342


#include int main(void) { int a=4, b=2; a=b<>2 ; printf("%d",a); return 0; }

1080


Set up procedure for generating a wire frame display of a polyhedron with the hidden edges of the object drawn with dashed lines

3036


Given a spherical surface, write bump-mapping procedure to generate the bumpy surface of an orange

2867


Develop a routine to reflect an object about an arbitrarily selected plane

3004


How can you relate the function with the structure? Explain with an appropriate example.

2925


What is full form of PEPSI

1874