What is the difference between overloading and overriding a
function?

Answer Posted / nishchita

In overloading 2 function should have different signature
but in overriding must have exactly same signature.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

When the constructor of a class is invoked?

796


What is set in java?

802


What are the properties of thread?

715


What is the purpose of assert keyword used in jdk1.4.x?

784


Which language is java?

778


What is a priority queue java?

757


Explain enumeration in java?

799


What is pre increment and post increment in java?

732


What type of value does sizeof return?

805


How do you create a null object?

812


What is purpose of find feature?

877


What is the original name of java?

806


How many threads can java run?

850


When do I need to use reflection feature in java?

849


Why are data types important?

800