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 set in java?
When a thread is executing synchronized methods , then is it possible to execute other synchronized methods simultaneously by other threads?
Can we assign integer value to char in java?
What is string value?
Which are different kinds of source code?
Describe the term diamond problem.
23. Storage space in java is of the form Stack Queue Heap List 24. What is java code embedded in a web page known as Applets Servlets scriptlets snippets 25. Which of the following attributes are compulsory with an
How many types of memory areas are allocated by jvm?
Can an interface have a class?
Is java still relevant?
Can we extend immutable class?
Is age a discrete variable?
What is variable argument in java?
What do you mean by multithreaded program?
What is java english?