Fichas
Sin título
Fichas del conjunto (2)
- 1What is the difference between Polymorphism and Inheritance?*INHERITANCE*
Inheritance allows for sub-classes derived from a "Parent" class.
Child classes only inherit Public and Protected members from the parent.
Child classes can override members of the parent class.
*POLYMORPHISM*
Polymorphism allows for "late binding" inherited class types at run-time.
Only virtual members of the parent class will be overidden by the child class.
Typically implemented with pointers. - 2—
Información
- Descripción
- Fichas sobre Sin título, creado por asdf sdf el 11/12/2018.
- Creado por
- asdf sdf
- Visitas
- 0
- Valoración