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

What is a null check?

770


What is the difference between declaration and definition in java?

758


How much is a java license?

724


What does n mean in java?

756


List primitive java types?

800


What is nextline method in java?

809


What is the reason behind using constructors and destructors?

807


What does @override mean?

795


What does a method signature consist of?

736


Can a private method be declared as static?

801


What is the primary benefit of encapsulation?

789


What is singleton class in java and how can we make a class singleton?

841


What is an example of character?

805


What do you mean by boolean?

835


How do you read a char in java?

720