Suppose C is a class that implements the interfaces I and J. Which of the following assignments

Question:

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;

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: