What is Method overloading?

Answer Posted / saranya

a class can have more than one method with same function
name but different in parameter passing is said to be
method overloading

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you answer polymorphism?

569


What is class and object with example?

576


Why is encapsulation used?

566


What is the difference between encapsulation and polymorphism?

580


What is polymorphism and types?

588






Can we create object of abstract class?

565


Which is better struts or spring?

605


What is the real time example of inheritance?

625


There are two base class B1,B2 and there is one class D which is derived from both classes, Explain the flow of calling constructors and destructors when an object of derived class is instantiated.

1441


Why do while loop is used?

565


Why do we need polymorphism in c#?

672


What exactly is polymorphism?

588


What is encapsulation example?

536


What is the full form of oops?

597


What is destructor in oop?

611