What is the difference between overloading and overriding a
function?

Answer Posted / jitesh singh

OVERLOADING is done in the same class with different
singnature or parameter pass in the function

OVERRIDING is done in different class but the signature or
the parameter is same

Is This Answer Correct ?    12 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can constructor be protected in java?

614


What are features of java?

663


What is the use of java?

623


Is the empty set a singleton?

626


Can string be considered as a keyword?

680






How do constructors use this() and super()?

650


What is mean by exception?

642


What is the difference between a scrollbar and a scrollpane?

660


What is an class?

674


What is the meaning of variables in research?

634


Why are there no global variables in java?

674


why are there separate wait and sleep methods? : Java thread

662


What is object in java?

631


How can we achieve thread safety in java?

772


What is string value?

727