0 votes
in JAVA by
When can an object reference be cast to an interface reference?

1 Answer

0 votes
by

An object reference can be cast to an interface reference when the object implements the referenced interface.

Related questions

0 votes
asked Apr 8, 2021 in JAVA by SakshiSharma
+2 votes
asked May 12, 2021 in JAVA by rajeshsharma
...