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 modifiers may be used with a top-level class?
Is arraylist a class in java?
How do you override a variable in java?
Write a program to find the greatest of three numbers in java?
Why do we need wrapper class?
What is the longest unicode character?
What is jagged array in java?
What do you mean by JVM?
Does windows 10 need java?
What is immutability in java?
describe method overloading
Is java 9 released?
what is an objects lock and which objects have locks? : Java thread
How do you convert string to int in java?
What is the purpose of a transient variable?