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
Can we have multiple classes in single file ?
Can a class have a static inner class?
What do you understand by synchronization?
How will you load a specific locale?
What is static synchronization?
What is singleton math?
What is a line break?
What makes a function well defined?
What are methods and how are they defined?
Why string is a class?
What are the different ways to handle exceptions?
how we can make a read-only class in java?
Can we declare a static variable inside a method?
What is the tradeoff between using an unordered array versus an ordered array?
What is the latest java version?