Inheritance

Nasza ocena:

3
Wyświetleń: 497
Komentarze: 0
Notatek.pl

Pobierz ten dokument za darmo

Podgląd dokumentu
Inheritance - strona 1 Inheritance - strona 2

Fragment notatki:

Inheritance  Reveals hierarchic relations between classes  To develop (extend) existing classes without need to modify or recompile them  Reusability of code (one defines only what is added or changed, all the rest is reused)  Base class person  Derived class adult Each adult is a person An adult is a specific kind of person ... zobacz całą notatkę



Komentarze użytkowników (0)

Zaloguj się, aby dodać komentarz