Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


is JVM platform dependent or independent..?

Answers were Sorted based on User's Feedback



is JVM platform dependent or independent..?..

Answer / 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

is JVM platform dependent or independent..?..

Answer / sadhi

jvm is a program and it is system dependent. Because every
system differentiate in developing tools and software..
so, the jvm software is convert the class file which is have
byte code into machine code to according to that specific
configuration. Since jvm is depend on the system software
and hardware..

Is This Answer Correct ?    40 Yes 2 No

is JVM platform dependent or independent..?..

Answer / 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

is JVM platform dependent or independent..?..

Answer / bapu

x.java file compiled by compiler.but .class file contains
source code equivalent to byte code.
But the microprocessor cannot understand byte code
instructions,neither can it execute them.Jvm can convert
byte code into machine code.JVM is not a machine-it is a
program.
jvm is system dependent.

Is This Answer Correct ?    12 Yes 1 No

is JVM platform dependent or independent..?..

Answer / ravi

Java "the language" is platform-independent. To make it so,
there is a platform-specific JRE that knows how to run the
platform-independent Java code on a specific platform.

The JVM could be called platform-independent because it
produces the same results running the same Java code on
different platform(). It is however (at least partially)
implemented as a platform-dependent executable.

Is This Answer Correct ?    44 Yes 36 No

is JVM platform dependent or independent..?..

Answer / guest

java is platform independent.

Is This Answer Correct ?    26 Yes 21 No

is JVM platform dependent or independent..?..

Answer / jporter

I very much liked this explanation:

http://www.programmerinterview.com/java/is-jvm-platform-dependent.php

Is This Answer Correct ?    5 Yes 1 No

is JVM platform dependent or independent..?..

Answer / suji

JVM IS A PLATFORM DEPENDENT

Is This Answer Correct ?    4 Yes 3 No

is JVM platform dependent or independent..?..

Answer / megha pandav

We can't directly says that JVM is platform independent but
due to JVM java has become platform independent.Because JVM
convert byte code into the microprocessor readable format.so
that code able to run on any machines like windows,
linux,Macnitosh etc...

Is This Answer Correct ?    4 Yes 8 No

is JVM platform dependent or independent..?..

Answer / kanhaiya sharma

JVM REFERS TO JAVA VERTUAL MACHINE.
MAINLY WORK OF JVM IS THAT CONVERT BYTECODE INTO MACHINE
CODE.

YES,JVM IS PLATEFORM-INDEPENDENT BACAUSE EVERY OS HAVE OWN
PRE-INSTALLED JVM THAT SUPPORTS TO JRE(JAVA RUNTIME
ENVIORMENT)AND JRE RESPONSIBLE FOR PROVIDE RUNTIME
ENVIORMENT TO EVERY OS.

Is This Answer Correct ?    0 Yes 6 No

Post New Answer

More Core Java Interview Questions

Describe what happens when an object is created in java ?

0 Answers  


What is hashmap and map?

0 Answers  


What is getclass () getname () in java?

0 Answers  


What is Co-Variant return type in method overriding?

1 Answers   RBS,


When does the compiler supply a default constructor for a class?

9 Answers   TCS,


What is the purpose of setAutoCommit() ?

1 Answers   Google,


I want to print “hello” even before main is executed. How will you acheive that?

0 Answers  


Where are global variables stored?

0 Answers  


How do you define a variable?

0 Answers  


Why char array is preferred over string for storing password?

0 Answers  


What does business logic mean?

0 Answers  


What is method in research paper?

0 Answers  


Categories