is JVM platform dependent or independent..?

Answer Posted / vamsi

JVM refers Java Virtual Machine. JVM is a program which
will convert byte code instructions into machine language
instructions understandable by Micro processor. Java
program write once, later on run anywhere.

JVM is a system dependent, because it was developed in C
language, where as class file is a system independent.


Sun Microsystems has developed different JVMs for different
operating systems. Hence, you can write a single Java
program and generate the class file which can be executed
on any other operating system.


note# let us know if iam wrong.

Is This Answer Correct ?    126 Yes 13 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the restrictions imposed on method overriding?

550


Can you inherit from an abstract class java?

527


Explain differences between collection api and stream api?

610


What is the difference between yielding and sleeping?

554


How can you read an integer value from the keyword when the application is runtime in java? example?

619






What is split return?

488


how to split string in java?

647


Write an algorithm program in java for the following question.. 1) S is a set of integers.X is an integer obtained by sum of two digits in S. Write logic for whether or not the X is from the S. The time of algorithm should not exceed o(n logn).

1602


What are green threads in java?

555


What are the legal parameters?

505


List any five features of java?

565


Explain why wait(), notify() and notifyall() methods are in object class rather than in thread class?

554


What is difference between checked and unchecked exception in java?

576


What do you mean by data type?

546


Can we sort hashmap in java?

530