adspace


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

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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What do you understand by casting in java language? What are the types of casting?

923


What if I write static public void instead of public static void?

934


What is the resourcebundle class?

1012


what is reflection api? How are they implemented?

1105


What is the first argument of the string array in main method?

1030


Are jvm’s platform independent?

982


Can we extract main method from another class?

1034


How does java handle integer overflows and underflows?

1113


What is the locale class?

1024


What is the java api?

993