Closed bausshf closed 6 years ago
Inheritance is closer to Java than C++. C++ allows multi-inheritance, D doesn't. Classes are also classes in D, just like Java; both reference types. In C++ classes are value-types and are basically wrappers on-top of structs.
thanks!
Inheritance is closer to Java than C++. C++ allows multi-inheritance, D doesn't. Classes are also classes in D, just like Java; both reference types. In C++ classes are value-types and are basically wrappers on-top of structs.