How java is platform independent?

Answer Posted / sathish s t

java is platform independent because after compile the source file,then the byte code(.class) file is converted into machine code by the interpreter(jvm) and gives output,here clearly see that the machine code is converted by jvm not depends upon OS (operating system).so java is platform independent.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why bytecode is called bytecode?

588


How can you write a loop indefinitely in java programming?

552


Is vector synchronized in java?

557


Name few java 8 annotations ?

565


Why do we use return statement?

541






What is a variable simple definition?

579


What are different exception types exceptions available in java ?

480


Is age a discrete variable?

528


How many types of array are there?

550


What is the gregoriancalendar class in java programming?

570


What is boolean example?

527


Give few difference between constructor and method?

521


What is parameter example?

544


Is void a data type in java?

526


Discuss different types of errors that generally occur while programming.

581