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 is string [] java?
How do you create a method in java?
Which way a developer should use for creating thread, i.e. Sub classing thread or implementing runnable.
What's the purpose of using break in each case of switch statement?
How listener identify that the event came from a particular object?
What does flag mean in java?
What is the difference between hashmap and hashtable in java?
Is multiple inheritance supported by java?
What are the differences between processes and threads?
What is class level lock ?
What is difference between public static and void?
What is a flag value?
What is the benefit of inner classes in java?
Difference between object and reference?
What environment variables do I need to set on my machine in order to be able to run java programs?