What is the difference between C++ & Java?
Answers were Sorted based on User's Feedback
Answer / himani saxena
c++ is object oriented programming and Java is pure object oriented programming
| Is This Answer Correct ? | 5 Yes | 0 No |
Answer / himani saxena
c++ is object oriented programming because in c++ without class program will make but java not make program without class therefor java is purely oops.
| Is This Answer Correct ? | 5 Yes | 0 No |
Answer / tiwari suryaprakash
WITHOUT LINKER(#) U CAN'T RUN C++
IN JAVA THERE ARE NO ANY EXPRESSION(!,@,#,$,%,^,&,&,*) FOR LINK.
| Is This Answer Correct ? | 5 Yes | 0 No |
Answer / g krushna kanth
JAVA can be used for some web based applications where as C++ cannot be used than JAVA
| Is This Answer Correct ? | 5 Yes | 0 No |
Answer / manoj ku. mallick
c++ is advance version of c language .
c++ is a language where as we treat java as a technology
not just as a language.
the main differences between two are given
1.purely object oriented.
2.java is simple(it doesnot use pointer)
3.java is secure.
4.it doesnt support multiple inheritance
5.interface concept which play a vital role in java.
6.multithreading concept also play a vital role.
| Is This Answer Correct ? | 5 Yes | 0 No |
Answer / rachana
C++ DON'T HAVE HAVE AUTOMATIC GARBAGE COLLECTION BUT JAVA
HAVE AUTOMATIC GARBAGE COLLECTION
| Is This Answer Correct ? | 5 Yes | 0 No |
Answer / k.s.mayuri
C++ platform dependent whereas java platform independend
| Is This Answer Correct ? | 5 Yes | 0 No |
Answer / raam
program can run without using the class name in c++....
it is must that program is to be run using class name
| Is This Answer Correct ? | 4 Yes | 0 No |
Answer / eunice
C++ SUPPORT TEMPLATE WHILE JAVA DOES NOT SUPORT TEMPLATE
C++ IS OBJECT ORIENTED LANGUAGE
| Is This Answer Correct ? | 4 Yes | 0 No |
Answer / alka yadav
c++ is a superset of c but java is neither a superset nor a subset of c or c++.
| Is This Answer Correct ? | 4 Yes | 0 No |
Can a method be static?
What is a lambda expression ? What's its use ?
What are different types of classloaders?
Why do we need wrapper classes?
If two threads have same priority which thread will be executed first ?
How many bytes is a string?
Do you know why doesn't the java library use a randomized version of quicksort?
Which method returns the length of a string?
what is an object and how do you allocate memory to it?
can any one send me the example program of immutable class?
Can private class be extended java?
Can constructor return value?