How java is platform independent?
Answer Posted / shobhit sachdeva
A language is platform independant if it satisfies the
following 3 conditions :
1. It is compiled in a platform neutral manner i.e. object
code obtained after compilation doesn't contain any
Operating System specific information and doesn't follow
O.S. specification formats.
2. Language provides its own runtime environment for
execution of its applications.
3. Language provides comprehensive library to act as an
interface for O.S. services i.e. applications developed in
the language doesn't directly reference any O.S. specific
functionality.
Java follows all these conditions.
| Is This Answer Correct ? | 24 Yes | 22 No |
Post New Answer View All Answers
Can a class be private?
Where is const variable stored?
what is session in java?
Explain the difference between association, aggregation and inheritance relationships.
What is the use of java?
What is lossy conversion in java?
Explain about static imports in java?
What is difference between core java and java ee?
What happens if main method is not static?
Write a java program for binary search?
Explain about main() method in java ?
What is this keyword used for?
Is int a class in java?
What is thread start?
How can an object be unreferenced?