Question: Fill in the blanks: A class may be assigned to a(n) ___________________ reference variable automatically but requires an explicit cast when assigned to a(n) ___________________
Fill in the blanks: A class may be assigned to a(n) ___________________ reference variable automatically but requires an explicit cast when assigned to a(n) ___________________ reference variable.
A. subclass, outer class
B. superclass, subclass
C. concrete class, subclass
D. subclass, superclass
E. abstract class, concrete class
Step by Step Solution
3.36 Rating (146 Votes )
There are 3 Steps involved in it
The correct answer to this question is B superclass subclass To explain this in more detail a class ... View full answer
Get step-by-step solutions from verified subject matter experts
