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
  • 153
  • 1
  • 3
  • 19

0 Answers0