Labels:crt screen | dialog box | monitor | web site | window OCR: Object- Oriented Programming instanceof The "instanceof" operator can test the class of an object: new Student instanceof Student) true instanceof Fer son also true The compiler treats: Student) Like this: instanceof Student) el throw new ClassCastException You could always code this explicitly ... instanceof Student) (Student) DO auos thing else Ham Porter 2001 ssca stException alwavs some Harry