what is function over loading?

Answer Posted / abhishek singh

Same Function Name with Diffrent Parameters(argument)
called function over loading.

Ex-1
public Functin Sqlquery(by val user id as string,by val
passowrd as string)

public Functin Sqlquery(by val From as string,by val To as
string)

Here u can see same name of function with different
parameters

Thanks & Regards
Abhishek singh
09709109796
abhishek_singh156@yahoo.com

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can you explain polymorphism?

849


What is overriding in oops?

846


c++ program to swap the objects of two different classes

2146


What is the benefit of oop?

791


What do you mean by abstraction?

842


What are the benefits of oop?

889


Write a program to implement OOPS concepts such as inheritance, polymorphism, friend function, operator overloading?

4493


What is oops?what is its use in software engineering?

785


What is coupling in oops?

847


What is object in oop with example?

980


What is oops and why we use oops?

813


What is the difference between abstraction and polymorphism?

866


Write a program to sort the number with different sorts in one program ??

2122


Question: Implement a base class Appointment and derived classes Onetime, Daily, Weekly, and Monthly. An appointment has a description (for example, “see the dentist”) and a date and time. Write a virtual function occurs_on(int year, int month, int day) that checks whether the appointment occurs on that date. For example, for a monthly appointment, you must check whether the day of the month matches. Then fill a vector of Appointment* with a mixture of appointments. Have the user enter a date and print out all appointments that happen on that date.

953


Is enum a class?

815