What is compile time polymorphism?

Answer Posted / sudipta sadhukhan

java support two types of polymorphism.one is compile time
polymorphism(it's actually overloading)and run time
polymorphism(it's actually overriding.So,complie time
polymorphism is simple overloading.

Is This Answer Correct ?    23 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why can't we use static class instead of singleton?

499


Explain a situation where finally block will not be executed?

570


Why string is not a wrapper class?

640


What is a superclass?

920


Is it possible for a yielded thread to get chance for its execution again?

507






What restrictions are placed on method overriding in java programming?

539


Why does java have two ways to create child threads?

464


What are the differences between stringbuffer and stringbuilder?

536


How you can force the garbage collection?

533


What is a finally block?

558


What is charat java?

536


Explain what do you mean by functional overloading in java?

553


What about method local inner classes or local inner classes in java?

548


is there a separate stack for each thread in java? : Java thread

535


What are different data structures in java?

526