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.
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.