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

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -