Java vs. C++
- C++ supports pointers; Java does not (Java does have object references)
- C++ supports mutiple inheritance directly; Java supports multiple inheritance only through interfaces
- C++ supports operator overloading; Java does not
- C++ supports global variables; Java does not (sort of)
- C++ supports #define; Java does not
- C++ supports typedef; Java does not
- C++ supports enum; Java does not
- C++ supports unions; Java does not
- C++ supports structs; Java does not
- C++ supports constants; Java supports final variables
(Visited 86 times, 1 visits today)
Comments - One Response to “Java vs. C++”
Sorry but comments are closed at this time.