Question: R10.1 Suppose C is a class that implements the interfaces I and J. Which of the following assignments require a cast? C c = .
R10.1 Suppose C is a class that implements the interfaces I and J. Which of the following assignments require a cast?
C c = . . .; I i = . . .; J j = . . .;
a. c = i; b. j = c; c. i = j;
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
