naveen yadav wrote:
apart from that what can be compile time polymorphic ?
I think you also need to define "what is compile time polymorphism"?
For example, is polymorphism (overriding methods) truly runtime? There is definitely a runtime component, as the methods are resolved at runtime. But isn't there also a compile time component? It is the compiler that figures out the code that builds the jump tables, etc.
IMO, the definition isn't completely clear, certainly not enough to give you a clear answer.
Henry