what is run time polymorphism

Answer Posted / venu

Runtime polymorphism is nothing but, JVM identifies the behavior (Method) invocation of the reference based on the reference pointing to the Object. Runtime Polymorphism is experimented by an example of Method Overriding.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

why an outer class cannot be declared as private?

3622


Why java is used everywhere?

596


When should you use arraylist and when should you use linkedlist?

503


Can classes declared using the abstract keyword cab be instantiated?

567


Break statement can be used as labels in java?

560






What is scope & storage allocation of global and extern variables? Explain with an example

589


Can an integer be a string?

517


How can we run a java program without making any object?

549


Can we declare register variable as global?

521


How many bits are used to represent unicode, ascii, utf-16, and utf-8 characters?

592


How does the java compiler work?

534


Is void a return type?

557


What is the synonym of string?

548


What is public static void main?

583


How many JVMs can run on a single machine and what is the Just-In-Time(JIT) compiler?

582