Computer Science, asked by Mrtyunjay5216, 1 year ago

What is method overloading and method overriding?

Answers

Answered by honeygupta4
1

so here is your answer....

Overloading occurs when two or more methods in one class have the same method name but different parameters. Overriding means having two methods with the same method name and parameters (i.e., method signature). One of the methods is in the parent class and the other is in the child class.

Method overriding is one of the way by which java achieve Run Time Polymorphism.The version of a method that is executed will be determined by the object that is used to invoke it.

Hope it will help you...

Answered by AashifHussain
0

Hey look here your answer.

I hope you are understand.

hey mate plz mark as branelist plz dear.

Hey Dear maine apko answer de diya hai mai asha krta hu ki apko answer samjh aagya ho ga.

Attachments:
Similar questions