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
Is a method a function?
Can you instantiate the math class in Java?
What is method reference?
What data structures are used to perform recursion?
What is arrays aslist in java?
Can a lock be acquired on a class in java programming?
Where we write javascript code in html page?
What is default size of arraylist in java?
Why is java architectural neutral?
Explain the meaning of java applet.
What is final modifier?
What is the role of garbage collector in java?
What do you understand by the term wrapper classes?
What are the parts of methodology?
What is args length in java?