cocoa - polymorphism in objective-c -
in objective-c,whether & set methods can used in polymorphism or not? if yes please explain how can implement them ?,& if no why?
can explain it?
in objective-c methods (including getters , setters created @synthesize
) behave same. method dispatch done @ runtime (like c++ virtual
methods or non-final
methods in java). there nothing special enable polymorphism, it’s default , way.
i hope answers question not clear. please update question if that’s not wanted.
Comments
Post a Comment