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


Please Help Members By Posting Answers For Below Questions

What modifiers may be used with a top-level class?

578


Is arraylist a class in java?

538


How do you override a variable in java?

533


Write a program to find the greatest of three numbers in java?

564


Why do we need wrapper class?

535






What is the longest unicode character?

695


What is jagged array in java?

531


What do you mean by JVM?

591


Does windows 10 need java?

600


What is immutability in java?

608


describe method overloading

539


Is java 9 released?

526


what is an objects lock and which objects have locks? : Java thread

538


How do you convert string to int in java?

562


What is the purpose of a transient variable?

585