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 about varargs in java?
List the features of java programming language.
What string is utf8?
Define "Access specifiers" in java.
Differentiate between array list and vector in java.
Is there any limitation of using inheritance?
What do you understand by synchronization?
What is a newline character in java?
Can we cast any other type to boolean type with type casting?
What do you mean by aggregation?
Why there is no call by reference in java?
How will you compute size of a structure?
Can we declare a class as static?
How many threads does a core java have?
How many JVMs can run on a single machine and what is the meaning of Just-In-Time (JIT) compiler?