Why Java is called as purely platform independent..?
Explain briefly..dont Give regular answers
Explain with your own example..?

Answers were Sorted based on User's Feedback



Why Java is called as purely platform independent..? Explain briefly..dont Give regular answers Ex..

Answer / satishkumar vishwakarma

The java is platform independed because of its bytecode.
When we compile our source file it is converted into .class
file. This .class file containts bytecode which is executed
by JVM whih is a runtime environment for java. Now
this .class file can be run in any environment with the
help of jvm. and jvm convert bytecode into native code.
That's why java is called platform independed.

Is This Answer Correct ?    96 Yes 9 No

Why Java is called as purely platform independent..? Explain briefly..dont Give regular answers Ex..

Answer / rajashekar

Ya of course the above answer is currect but remember here
Platform independent means PROCESSOR Independent..that mens
irrespective of processor the JVM convert the Java
Instructions into processor dependent Instructions..
Thats why Java is so called Platform Independent..

Example:
If you are using Intel Processor the machine code
instructions are different like ipush,istore etc like if you
are using AMD processor the instructions will be a push,a
add etc ....

here JVM converts the java Instructions to Processor
understandable Instructions..
so the Programs which were compiled on any Processor can run
on no.of times through out the world on n no.of Processors..

Thank You....
if any suggestions mail to rajashekar.654@gmail.com

Is This Answer Correct ?    30 Yes 7 No

Why Java is called as purely platform independent..? Explain briefly..dont Give regular answers Ex..

Answer / chandrasekhar

we know that c,c++ are platform dependent the reason is
c,c++ directly communicate with OS.The .exe file of c,c++
contains 4 types:-1.)program
2.)libraries
3.)processor
4.)OS
so c,c++ are platform dependent
Java prpogram connect with JVM and then interact with OS
The .class file contains only 2 types:1.)program
2.)libraries
so java is platform independent

Is This Answer Correct ?    18 Yes 2 No

Why Java is called as purely platform independent..? Explain briefly..dont Give regular answers Ex..

Answer / raji

in java the byte code which is called as plat form independent
so........ it can be ready executed in any platform
and where particuler jvm is plat form dependent.......always

Is This Answer Correct ?    14 Yes 2 No

Why Java is called as purely platform independent..? Explain briefly..dont Give regular answers Ex..

Answer / ajeet pratap singh

we can say that java is logically platform independent but not technically because as jvm generates the byte codes i.e. .class files ,it is the necessary conditions for a purely platform independent language that the byte code which is generated by the jvm should run on any operating system without any mediator or converter but here interpreters are used to convert those codes acc. to the operating systems used and this is known as jre(java runtime environment). So java is logically platform independent but not technically

Is This Answer Correct ?    10 Yes 3 No

Why Java is called as purely platform independent..? Explain briefly..dont Give regular answers Ex..

Answer / himanshu daurby

ava is a platform independent programming language, Because when you install jdk software on your system then automatically JVM are installed on your system. For every operating system separate JVM is available which is capable to read the .class file or byte code. When we compile your Java code then .class file is generated by javac compiler these codes are readable by JVM and every operating system have its own JVM so JVM is platform dependent but due to JVM java language is become platform independent.

Is This Answer Correct ?    0 Yes 0 No

Why Java is called as purely platform independent..? Explain briefly..dont Give regular answers Ex..

Answer / suraj gupta

We can say that after translating a java program into bytecode helps to make it much easier to run a program in a wide variety of environments. Only the JVM needs to be implemented for each platform. If JVM exists for a given computer, any java program can run on it. Therefor java is  platform independent language.

Is This Answer Correct ?    1 Yes 2 No

Why Java is called as purely platform independent..? Explain briefly..dont Give regular answers Ex..

Answer / waqar ahmed rahuja

Software that can run any Hardware (PC, Mac, and sun space etc). Or Software platform ( Linux, Mac OS, Unix and windows etc). in general, programs written in java language can be executed on practically every platform.

Is This Answer Correct ?    0 Yes 2 No

Post New Answer

More Core Java Interview Questions

How many types of memory areas are allocated by JVM in java?

0 Answers   UGC Corporation,


Why Wait and notify are kept in Object class although they are used only with Thread Class

2 Answers   Global Logic, Saksoft,


Which types of exceptions are caught at compile time?

0 Answers  


What is the difference between class forname and new?

0 Answers  


What is difference between add() and addelement() in vector?

0 Answers  






What is nextline method in java?

0 Answers  


What happens when you invoke a thread’s interrupt method while it is sleeping or waiting?

0 Answers  


How does compareto work in java?

0 Answers  


Explain the difference between protected and default access.

0 Answers  


What are three ways in which a thread can enter the waiting state in java programming?

0 Answers  


What is clipping and repainting and what is the relation between them?

1 Answers  


We can write any Java Logics in our JSP. Then why we are using servlets(Controller Layer) to interact with the DAO ?

6 Answers   TCS,


Categories