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
What are the super most classes for all the streams?
Why is String immutable?
What do you understand by java virtual machine?
If a method is declared as protected, where may the method be accessed?
How to perform selection sort in java?
What is hash table in java?
What is space character in java?
What is the functionability stubs and skeletons?
How do you override a method?
What is are packages?
Why spring singleton is not thread safe?
What is a constructor overloading in java?
why would you use a synchronized block vs. Synchronized method? : Java thread
Why constructor has no return type?
What is the Scope of Static Variable?