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 n in java?
Why do we create threads in java?
What is the difference between a scrollbar and a scrollpane?
What is unicode used for?
What is the use of arraylist in java?
Differentiate between postfix and prefix operators in java.
Is string a datatype?
What are sets in java?
Why are the methods of the math class static?
Write a function to print Fibonacci series and Tribonacci series?
When do you get classcastexception?
Explain the pointers in Java?
Can we make the abstract methods static in java?
What is off heap memory?
Are private methods final?