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 |
What is a variable in java?
Give the hierarchy of inputstream and outputstream classes.
Explain restrictions on using enum?
What is keyset in java?
How many bytes is a url?
how a marker interface gets its functionality and when we implements a marker interface how it got invoked
how exactly garbage collection take place?
Is there any tag in htm to upload and download files?
Why is singleton not thread safe?
Is 9 a prime number?
When a thread is executing a synchronized method , then is it possible for the same thread to access other synchronized methods of an object ?
what is meant by HQL?