Distinguish method overloading and method overriding

Answer Posted / sagar.rds

Method overloading is compile time polymorphism and method
over riding is Runtime polymorphism.Method oveloading is
having same name and different parameters and different
return type also.Method overriding same name with same
parameters and having same return type

Is This Answer Correct ?    18 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How does java pattern compile work?

548


What is final keyword in java? Give an example.

578


What is the use of singleton class?

525


When do we use synchronized methods in java?

584


How java enabled high performance?

584






What are the files generated after using IDL to java compiler?

589


What is the concatenation operator in java?

579


How many bytes is a unicode character?

509


Why singleton class is used in java?

573


How does multithreading take place on a computer with a single cpu in java programming?

536


Is set thread safe java?

504


What is composition in java?

730


Can you run java program without main method?

543


Is java free for commercial?

491


Why is the type for real numbers called double?

545