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
Is space a character in java?
What is java algorithm?
Tell me a few examples of final classes defined in Java API?
Can we override the overloaded method?
What design pattern you have used in your project? I answered Factory pattern, how it is implemented? What are its advantage? Do know about Abstract Factory?
Is java free for businesses?
Can java run on google chrome?
Explain purpose of sleep() method in java?
Explain about the performance aspects of core java?
Tell some latest versions in JAVA related areas?
List the features of java programming language.
whatis Home interface and Remoteinterface? with example?
Where is core java used?
What is the benefit of lambda expressions?
What happens if an exception is throws from an object's destructor?