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...


Why Java is a platform independent language?Explain byte code
and JVM

Answers were Sorted based on User's Feedback



Why Java is a platform independent language?Explain byte code and JVM..

Answer / kabita

due to byte code and jvm java is platformindependent
language.as we know after compiling sourcecode it gives
java byte code.only jvm can execute bytecode and every os
(operating system) having their own jvm.so it is a
platformindependent language.jvm stands 4 java virtual
machine which executes the bytecode.bytecodes are the
intermediate language for jvm.

Is This Answer Correct ?    47 Yes 6 No

Why Java is a platform independent language?Explain byte code and JVM..

Answer / monisha

Java is platform independent language as the compiled
version from one platform can be executed on any other
platform(OS) and bytecodes are the compiled version of java
program which is an intermediate language and JVM is Java
virtual machine which is a part of java platform and is a
software implementation/specification for a java
application.

Is This Answer Correct ?    38 Yes 11 No

Why Java is a platform independent language?Explain byte code and JVM..

Answer / hemalatha

When Java Code is compiled a byte code is generated which
is independent of the system. This byte code is fed to the
JVM (Java Virtual Machine) which is resided in the system.
Since every system has its own JVM, it doesn't matter where
you compile the source code. The byte code generated by the
compiler can be interpreted by any JVM of any machine.
Hence it is called Platform independent Language.

Is This Answer Correct ?    23 Yes 3 No

Why Java is a platform independent language?Explain byte code and JVM..

Answer / nilanjan

At first the java source code is compiled and then it is
interpreted to a optimized set of executable statements.
After compiling the source code the bytecode is generated
which is same for all platforms i.e OS. This byte code
needs JVM(java virtual machine) to be interprated which is
defferent for different OS i.e platform.
Due to the byte code which is same for all JVM java is
explicitely known as platform independent language.

source code ---------> bytecode ----------> executable
compilation same interpration
for all by JVM
JVM

Is This Answer Correct ?    12 Yes 4 No

Why Java is a platform independent language?Explain byte code and JVM..

Answer / katarimanoj

.class we get in windows os(platform) after compilation is referred to as bytecode.A bytecode is unversal code and is accessible by any jvm...d thing is every platform has its own type of jvm,to convert it into platforms(machine) language..


(m/c)english-->bytecode ======= bytecode--->telugu(m/c)
ompiled jvm

Is This Answer Correct ?    3 Yes 1 No

Why Java is a platform independent language?Explain byte code and JVM..

Answer / prasad

A java Document which is converted into binary Executable
format and unchanged run on multiple plat forms is called
platform independent.

Is This Answer Correct ?    2 Yes 1 No

Why Java is a platform independent language?Explain byte code and JVM..

Answer / sandeep negi

byte code is an intermediate code for java in the form of hexadecimal ,which is compiled code of java compiler and same
for all o\s.after compilation all machine or o\s have own java virtual machine translate the byte code into machine code. so we can say that java is a platform independent language.

Is This Answer Correct ?    2 Yes 1 No

Why Java is a platform independent language?Explain byte code and JVM..

Answer / guest

Write once Run anyware

Is This Answer Correct ?    5 Yes 4 No

Post New Answer

More Java Related AllOther Interview Questions

What is dialect in java?

0 Answers  


Is jdk an ide?

0 Answers  


How do javabeans work?

0 Answers  


Why sun introduce concept of anonymous class? What is need and real life use of anonymous class

0 Answers  


there are 67 seats in train . there are only 5 seats in a row and in last row there are only 2 seats. One person can reseve only 5 seat at a time. If person reserving seat , the care is atken that he may get all in row. if seats are not available in row then the arrangement is so that person group get nearby seats. the following class is given public class seat { char name; int seat; boolean isSeatempty } 1.Draw require class digram and object diagram. 2.Write function seatallot(int noofperson) to allocate seat with seat nuber printed for the each name.

0 Answers   Sapient,


Which is more secure: java or activex? : java security

0 Answers  


can a program use more than one command-line argument?

0 Answers  


What services can invoke lambda?

0 Answers  


What is the meaning of the words public, static and void?

0 Answers  


Which method is used to create the daemon thread?

0 Answers  


what is transient variable?

5 Answers  


What is use of jpa?

0 Answers  


Categories