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
Explain the difference between intermediate and terminal operations in java8?
What Is Query Throttling in java?
Explain the features of java?
Why javac is not recognized?
Is final static java?
What is the structure of java?
What are the important features of Java 9 release?
what is session in java?
Is string passed by reference in java?
What are the three best choices for a development environment?
What is the purpose of garbage collection in java, and when is it used?
What is static synchronization?
How do you reverse a word in java?
Can we execute a program without main() method?
What is the syntax and characteristics of a lambda expression?