How java is platform independent?
Answer Posted / brajesh tripathi
java is a platform independent language.there are following
reasons according to which we can say that is a pf
independent language
1:-Application Time Coupling
java use its own class libraries to develope an application
That is there are no connection between java program and the
libraries of that specific operating system.
2:-Compilation Time Coupling
that means there is no role of operating system in
compilation of java source code
3:-Execution Time Coupling
that means there is involvement of operating system in
execution of java source code
java cares all three rules of independency bz
1 java source code is compile by specific compiler and
loading and execution of java program is govern by JAVA RUN
TIME ENVIORNMENT.
same after compilation java byte code is formed and that
code executed by JVA via interpretor.
So we can say that java is pure platform independent language.
thanx
| Is This Answer Correct ? | 4 Yes | 8 No |
Post New Answer View All Answers
What is the return type of the main method?
What is function and its uses?
What is private public protected in java?
Can we override the private methods?
5 Coding best practices you learned in java?
Write a code to show a static variable?
Explain about core java?
What is mean by encoding?
What is array and arraylist in java?
Name few java util classes introduced with java 8 ?
Which sorting is best in java?
How many types of the indexof method are there for strings?
What is the declaration statement?
What is the size of a string in java?
What is a method in java?