Hi every one, Can any one tell me the major difference between JAVA and C++...
> C++ 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` and `shared_ptr` provide a limited form of garbage collection if used correctly. … Read More
1. Java is C++ with training wheels. 2. 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! 3. C++ doesn't leak memory. Only badly … Read More
C++ is a language with a standard librray that covers a decent range of common requirements. You are expected to use it with the native facilities of your OS and whatever other third-party libraries you need to build your application. Java is a language plus a vast API of over … Read More
Edited by peter_budo
Edited by Hiroshe
Edited by rubberman
Edited by JamesCherrill