Answer Posted / ravikiran
compile time polymorhism is named as overloading,and takes
place in the same class.Should have same method name but
must have different argument list.
Runtime polymorphism is named as overriding,and takes place
in diferent classes.Must have the same signature and
argument list including the order defined in the super
class.
| Is This Answer Correct ? | 10 Yes | 1 No |
Post New Answer View All Answers
What is the different between get and post?
Explain differences between collection api and stream api?
Explain the use of javap tool.
What are the main uses of the super keyword?
how we can make a write-only class in java?
Is there a case when finally will not execute?
What does %d do in java?
What is singleton pattern?
Can you tell me range of byte?
What is abstract class? Explain
What is the technique adopted to create an immutable class?
why doesn't java run on all platforms?
What is the purpose of encapsulation?
What is the purpose of assert keyword used in jdk1.4.x?
What are the basic concepts of OOPS in java?