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
What is the diffrence between inner class and nested class?
Do I need to import java.lang package any time? Why?
Are global variables initialized to zero?
What is object cloning in Java?
What is an interface in java?
What is externalizable?
What are advantages of exception handling in java?
How do you write a conditional statement?
Give few examples of final classes defined in Java API?
who can i handle multiple client in RMI
What is the inheritance?
What are the four integer types supported by java?
Can we create an object of static class in java?
What is the difference between class forname and new?
Explain try and catch keywords in java?