{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

InheritanceStructure 2 - one of the latter two we follow...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
First we define a few things with a color code DeclaredType name = new ObjectType(l; //declare variable name.methodfl; //callmethod ((CastToType)name).methodfl; //cast object, then calla method When we try to execute
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: one of the latter two, we follow this progression: Does CastToType contain. method? contain method?-**"g; Execute method of ObjectType Execute method of ObjectType Can cast ObjectType to CastToType? Error...
View Full Document

{[ snackBarMessage ]}

Ask a homework question - tutors are online