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

What do you mean by abstraction?

622


Write a C++ program without using any loop (if, for, while etc) to print prime numbers from 1 to 100 and 100 to 1 (Do not use 200 print statements!!!)

1644


How can you overcome the diamond problem in inheritance?

772


How oops is better than procedural?

595


How does polymorphism work?

638






How do you achieve runtime polymorphism?

573


What is the important feature of inheritance?

637


write a program to find 2^n+1 ?

1555


What is the point of polymorphism?

593


What are the two different types of polymorphism?

677


what type of questions

1697


What is difference between inheritance and polymorphism?

577


How do you define social class?

605


What is overriding vs overloading?

590


What is solid in oops?

617