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
How can you write a loop indefinitely in java programming?
Difference between method overloading and method overriding in java ?
How do you override a private method in java?
What is the use of pattern in java?
Is Constructor possible in abstract class in java ?
Explain method local inner classes ?
How a variable is stored in memory?
What is the difference between error and an exception?
java program with complete 4 oops concepts implemented example
Explain the concept of proper inheritance?
What is a class in java?
What is a nested structure?
What will be the output of round(3.7) and ceil(3.7)?
When do you get classcastexception?
What is stack class in java?