Java vs. C++
Published by admin.
Filed under Java. Total of 1 comment in the discussion.
- 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
Comments - One Response to “Java vs. C++”
Sorry but comments are closed at this time.