How java is platform independent?
Answer Posted / brajesh tripathi
java is a platform independent language.there are following
reasons according to which we can say that is a pf
independent language
1:-Application Time Coupling
java use its own class libraries to develope an application
That is there are no connection between java program and the
libraries of that specific operating system.
2:-Compilation Time Coupling
that means there is no role of operating system in
compilation of java source code
3:-Execution Time Coupling
that means there is involvement of operating system in
execution of java source code
java cares all three rules of independency bz
1 java source code is compile by specific compiler and
loading and execution of java program is govern by JAVA RUN
TIME ENVIORNMENT.
same after compilation java byte code is formed and that
code executed by JVA via interpretor.
So we can say that java is pure platform independent language.
thanx
| Is This Answer Correct ? | 4 Yes | 8 No |
Post New Answer View All Answers
What is a boolean field?
What is square root in java?
What languages are pass by reference?
How can you share data between two thread in Java?
How to declare an arraylist in java?
Is it compulsory for a try block to be followed by a catch block in java for exception handling?
What are the classes of java?
Is finalize() similar to a destructor?
What is java used for?
What is string substring?
What do you mean by append?
What are static blocks in java ?
What will happen if there is a default method conflict as mentioned above and we have specified the same signature method in the base class instead of overriding in the existing class ?
Why do we use variables?
What restrictions are placed on method overriding in java programming?