3 ms·
Why is Java the poster child of OO when c++ was literally c with classes
by zaphirplane 1y ago
Why is Java the poster child of OO when c++ was literally c with classes
- paulddraper 1y ago1. Java was made OO from ground up. No pointer arithmetic, all code is encapsulated in classes, etc. 2. C++ has some unusual OO features -- friends, multiple-inheritance. 3. Most importantly, Java is significantly more approachable than C++ due to automatic memory management.
- int_19h 1y agoThe poster child for statically typed OO is actually Simula 67. And Java is basically Simula with C-style syntax and packages.