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 empty string literal in java?
What are the basic control structures?
When should a function throw an exception?
Which programming language is most secure?
What is the difference between a scrollbar and a scrollpane?
why doesn't java run on all platforms?
What are the advantages of defining packages in java?
State two differences between C and Java.
Can a variable be local and static at the same time?
Can we clone singleton class in java?
If try block is successfully executed, Then Is Finally block executed?
How do you compare characters in java?
What does exp mean in math?
What is threaded programming and when is it used? : Java thread
What are the methods available in a class?