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 two types of exceptions in java? Which are the differences between them?
What are the states of thread in java?
What is nan inf?
Explain some best practices you would apply while using collection in java?
If you do not want your class to be inherited by any other class. What would you do?
What is the difference between superclass and subclass?
Why are constructors used?
Why string is not a wrapper class?
How to use Media tracker Class.
How do you check whether the list is empty or not in java?
What is widening and narrowing in java? Discuss with an example.
Why we use methods in java?
How many types of literals are there in JAVA?
Is the empty set a singleton?
How many bytes is a string java?