0

if Class A implements a interface B, can I CAST A to B and still get all functions working properly?

my current problem is that a function use type B as its argument, can I cast A to B and pass it to the function.

RhysJ
  • 143
  • 2
  • 15

0 Answers0