Exam (elaborations)
CMSC 132 quiz 3 review (100% Verified Solutions)
- Course
- Institution
Lets say there is a class called Student that extends a class called Person and we write: Student s = .....; Person p = (Person)s; Is this up casting or down casting? will it work? correct answers This is upcasting and it will work without any issues. Lets say there is a class called Stud...
[Show more]