PAZ1c
paz1c
aženyPes einstein = new aženyPes();
Pes p = einstein;
Comparable c = new aženyPes();
Spevák spevák = new aženyPes();
veselo funguje dedičnos a polymorfizmus
aj pretypovanie
Serializable serializable = new aženyPes();
Pes pes = (Pes) serializable;
Rozhrania
aj
instanceof
aženýPes einstein = new aženyPes();
if(einstein instanceof Cloneable)