Why Java is called as purely platform independent..?
Explain briefly..dont Give regular answers
Explain with your own example..?

Answer Posted / chandrasekhar

we know that c,c++ are platform dependent the reason is
c,c++ directly communicate with OS.The .exe file of c,c++
contains 4 types:-1.)program
2.)libraries
3.)processor
4.)OS
so c,c++ are platform dependent
Java prpogram connect with JVM and then interact with OS
The .class file contains only 2 types:1.)program
2.)libraries
so java is platform independent

Is This Answer Correct ?    18 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

a thread is runnable, how does that work? : Java thread

504


List some important characteristics on jre

584


Difference between predicate, supplier and consumer ?

571


What does escaping a character mean?

528


What are different data types?

562






What is the final keyword denotes?

668


What is the difference between superclass and subclass?

538


What is the purpose of finalization in java programming?

556


What are data types in oop?

545


What is a lightweight component?

585


What is array size in java?

490


What is the meaning of variable in research?

551


What are the disadvantages of object oriented programming?

586


What is the longest unicode character?

689


What is a treeset class?

550