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
What is the importance of static variable?
worst case complexities of Quick sort and Merge sort.
Which programming language is best in future?
What is a key in java?
Why is java called java?
Which class is the superclass for every class in java programming?
What is proper subset?
What is the covariant return type?
Which class is the superclass of all classes?
Can a main method be declared final?
what r advatages of websphere? & how to deploy?
Is 0 true or false in java?
What is anti pattern in programming?
What does %4d mean in java?
What technique is carried out to find out if a particular string is empty?