How java is platform independent?

Answer Posted / brajesh nath tripathi

java is platform independent because it follows the three
basic rules
According to these rule there should not any coupling
between operating system and java program /application
1:-Application developing time coupling
JAVA never use any operating system function in developing
java application
2 compilation time coupling
that is only Java Run Time environment is responsible to
load and compile the any java program
hence there is no role of operating system
3:-Execution time coupling
in java Run Time environment JVM has responsibility to
execute the java program hence there is no role of OS
since java follow these three rule hence java is a platform
language

Is This Answer Correct ?    5 Yes 9 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the diffrence between inner class and nested class?

564


Do I need to import java.lang package any time? Why?

741


Are global variables initialized to zero?

511


What is object cloning in Java?

636


What is an interface in java?

563






What is externalizable?

620


What are advantages of exception handling in java?

587


How do you write a conditional statement?

521


Give few examples of final classes defined in Java API?

707


who can i handle multiple client in RMI

1444


What is the inheritance?

552


What are the four integer types supported by java?

565


Can we create an object of static class in java?

597


What is the difference between class forname and new?

552


Explain try and catch keywords in java?

623