Morgan Stanley Interview Question

What is method overloading & method overwriting?

Interview Answer

Anonymous

Jul 24, 2020

• Method overloading: 2 or more methods with same method name but different parameters • Method overriding: 2 methods with the same method name and parameters. One method is the parent class and one method is in the child class.