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 reverse a linked list recursive java solution?
What are thread priorities and importance of thread priorities in java?
Why are data types important?
what are three ways in which a thread can enter the waiting state? : Java thread
In the below example, how many string objects are created?
Is oracle charging for java?
Can long be null in java?
Why deletion in linkedlist is fast than arraylist?
What are the basic concepts of OOPS in java?
What is Java Annotations?
What is the purpose of a parameter?
What methods are used to get and set the text label displayed by a button object?
How do you declare an array that will hold more than 64KB of data?
Define an enumeration?
What is default exception handling in java?