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 definition and declaration?
Can classes declared using the abstract keyword cab be instantiated?
What is difference between fileinputstream and filereader in java?
can I implement my own start() method? : Java thread
What is complexity in java?
What happens if we override private method?
Implement a stack with push (), pop() and min() in O(1) time.
How do you change an int to a string?
Hi.... I applied for the post of scientific officer/Engineer-SB(Programmer).Please post the syllabus and sample papers.
Write a factorial program using recursion in java?
What is anagram of a string?
Compare java and python.
Can we pass a primitive type by reference in java? How
Is 9 a prime number?
What is a package in java? List down various advantages of packages.