How java is platform independent?

Answer Posted / meer

Java is platform indepent because when java compiler
compiles the java program, it does not directly convert the
code into host machine specific instruction as other
programming language compilers do, instead it creates a
bytecode which is a intermediate language code generated
for the virtual machine which can run on any platform.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the different types of collections in java?

530


What are dot operator queries?

629


Can we nested try statements in java?

630


How do you override a private method in java?

507


What are identifiers in java?

575






If an object reference is set to null, will the garbage collector immediately free the memory held by that object?

637


how a programmer confirms that the data submitted has been succesfully inserted into the database(either oracle or my sql).. How a programmer confirm if there is any problem with the program he wrote for insertion... ANS:--- >executeupdate method is having boolean return type, if anything goes wrong in data insertion or data updation, it would return false. otherwise, if it successfully inserts data into the database, it would return true NOW HOW TO I CHECK IN MY DURING EXECUTION WHETHER IT RETURNS TRUE OR FALSE... WELL IT WILL DISPLAY ANY MESSAGE OR NOT

1852


Is it possible for a yielded thread to get chance for its execution again?

511


Explain an intermediate language?

509


Q1.A. Write note on “The class path Environment Variable”? B. Which are different kinds of source code? Q2.A. How to create an interface? B. Why convert an applet to an application? Q3.A. How to use Media tracker Class. B. How to use string tokenizer class. Q4 A. Explain the overview of UDP messaging. B. Difference between SQL Exception class and SQL Warning class. Q5. A. How to create com object in Java? B. Write short notes on “The properties class” Q6. A. When object is created and destroyed? B. Explain the JDB in depth & command line. C. Write short notes on Web Sites.

7423


What is complexity in java?

526


What is parsing a string?

592


What are conditionals and its types?

590


I want to re-reach and use an object once it has been garbage collected. How it's possible?

541


Are maps ordered java?

511