What is the difference between C++ & Java?
Answer Posted / gokul
1) c++ is platform dependent
Java is platform independent
2) multiple inherence is possible in c++ but not in Java
3) Pointers possible in c++ but not in Java
4) we cant create web applications in c++ but can in Java
5) A c++ program can be without class, but java program
should be in class :)
Is This Answer Correct ? | 26 Yes | 3 No |
Post New Answer View All Answers
What is the purpose of format function?
What is the use of arraylist class in java?
What are the differences between the constructors and methods?
Is hashmap thread safe?
Howto get an object that will perform date & time calculations then format it for output in some different locales with different date style.can ne1 tel me the answer of this question.pls
A person says that he compiled a java class successfully without even having a main method in it? Is it possible?
What is the method to declare member of a class static?
How does multithreading take place on a computer with a single cpu?
Is it safe to install java on my computer?
What is the difference between iterator and list iterator?
Is null function in java?
What is a function in java?
Can you inherit a constructor java?
What is exception handling in java?
What is string in java? String is a data type?