What is run time polymorphism?

Answer Posted / tntrichy

Hi Bal, Virtual Function concept in Java, i.e, assigning
sub-class object in super-class's reference.

Is This Answer Correct ?    7 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the purpose of the System class?

576


Can a method be static?

520


Define the term string pool?

582


What is the use of java?

526


Where are global variables stored?

505






How do you sort in descending order in java using collections sort?

492


What is pojo class in java?

534


What if constructor is protected in java?

556


Explain about main() method in java ?

578


Why vector class is used?

538


Give example to differentiate between call by value and call by reference.

588


What are the differences between stringbuffer and stringbuilder?

536


Explain different ways of creating a thread?

527


What is a java lambda expression?

552


What is the common usage of serialization?

569