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 means public static?
List types of storage classes in java?
How can we make a class singleton?
What is string buffer?
Explain the init method?
What are the types of arrays in java?
Why is stringbuffer called mutable?
Is java 1.7 the same as java 7?
Why parameters should be passed by reference?
What is a short in java?
Which way a developer should use for creating thread, i.e. Sub classing thread or implementing runnable.
What are the properties of thread?
What is an object in java and how is it created?
What is the difference between public, private, protected, and friend access?
Can memory leak in java?