Hi every one, Can any one tell me the major difference between JAVA and C++...
nancy10001
0
Newbie Poster
Recommended Answers
Jump to PostC++ uses pointers and have memory leaks
Just because C++ uses pointers doesn't mean it has to leak memory. It's just that you have to be careful with allocations, sharing and ownership. Modern pointer types like
unique_ptr
andshared_ptr
provide a limited form of garbage collection if used …
Jump to PostI think the community is one of the largest factors for most languages IMO. Though the C++ and Java communities are both very vast and it's harder to distinguish the two.
The C++ community is accociated with the C camp more. The general feel is that they are more aware …
Jump to Post
- Java is C++ with training wheels.
- Java doesn't support multiple inheritance, other than via interface types, which in my opinion are really useless. Every concrete class that inherents an interface class has to separately implement each function in the interface! Gah!
- C++ doesn't leak memory. Only badly written applications do. …
All 9 Replies
Slavi
94
Master Poster
Featured Poster
peter_budo
2,532
Code tags enforcer
Team Colleague
Featured Poster
albertjohns1
0
Newbie Poster
Sandra_4
commented:
Nice meeting you, My name is Maryam and I am a woman seeking for an honest friend and partner.so if you are interested please send an email to me for us to know ourselves better and I will send more of my pictures to you. Here is my email address...( mary
+0
~s.o.s~
2,560
Failure as a human
Team Colleague
Featured Poster
Hiroshe
499
Posting Whiz in Training
rubberman
1,355
Nearly a Posting Virtuoso
Featured Poster
~s.o.s~
commented:
Interesting :)
+15
JamesCherrill
4,733
Most Valuable Poster
Team Colleague
Featured Poster
mike_2000_17
2,669
21st Century Viking
Team Colleague
Featured Poster
~s.o.s~
2,560
Failure as a human
Team Colleague
Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.