why java does compile time polymorphism at run time ?

Answer Posted / pratiksha

Compile time polymorphism-->i.e.method ovrloading and it is
done at compile time.Because in overloading same method
names having different signature and compiler can decide which
method to run by checking data type of arguments.

Is This Answer Correct ?    4 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the use of arraylist in java?

824


Why declare Main() inside the class in java ?

823


What does string mean in java?

849


What is the numeric promotion?

734


Does .length start 0 java?

781


What is the difference between && and & in java?

835


Tell us something about set interface.

793


What is the difference between a synchronized method and a synchronized block?

885


Why do we use string?

799


What is final keyword in java?

808


What is an example of a conditional statement?

810


If a method is declared as protected, where may the method be accessed in java programming?

730


Can we declare main () method as non static?

734


Can size_t be negative?

825


Explain 5 features introduced in jdk 1.7?

830