by nashashmi · 2y ago · 0 comments
I am confused by this statement or it is going against what I understand.
If you have created a Type B variable, and you also have a new interface called A, and B implements A, then why would Type B variable's values be passed to A's values. 'A' is only an interface.
But yes, values inside B specific to type B will not be able to be accessed when manipulating the type A.