is JVM platform dependent or independent..?

Answer Posted / vikrant sharma

JVM refers to Java virtual machine.As you know JVM takes
byte code and convert it into format that is understandable
by microprocessor.Since Every machine has its own JVM like
windows has own JVM, linux has own JVM,Macintosh has
different,etc.This means JVM depends upon Operating system
that means JVM is platform dependent.But that byte code
able to run on any machine that has JVM(JRE)..

Is This Answer Correct ?    20 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the purpose of javac exe?

560


List the three steps for creating an object for a class?

517


I want to control database connections in my program and want that only one thread should be able to make database connection at a time. How can I implement this logic?

638


What is a protected class in java?

540


What are filterstreams?

614






Explain methods specific to list interface?

555


Is java type safe?

513


Explain about data types?

576


What is difference between == equals () and compareto () method?

530


Explain hashset and its features?

581


What happens if we don’t define serial version uid?

572


Difference between a class and an object?

579


What is the difference between heap memory and stack memory?

615


Why is java multithreaded?

542


What is bom encoding?

556