How java is platform independent?

Answer Posted / i.b kumar

Simply Platform = Hardware(Any Processor) + Operating System
When the Java compiler produces byte code that must run on Any Processor may be 16,32,64(bit) as well as any Operating System
and Byte code does that work.

So Java is called Platform Indepedendent.

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is meant by class loader? How many types are there?

668


Outline the major features of java.

563


Can we force garbage collector to run ?

568


What is indexof?

542


Why Set interface contains unique elements, what internally implemented for this so that it contains unique elements?

7406






Is array size fixed in java?

534


How can you handle java exceptions?

525


Objects or references which of them gets garbage collected?

530


What is the purpose of return statement?

625


How do you initialize an arraylist in java?

509


What do you understand by access specifiers in Java?

582


Write a code to show a static variable?

611


What is the difference between yielding and sleeping?

551


Can we convert integer to string in java?

593


Can you tell me range of byte?

555