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
Can you explain polymorphism?
What is overriding in oops?
c++ program to swap the objects of two different classes
What is the benefit of oop?
What do you mean by abstraction?
What are the benefits of oop?
Write a program to implement OOPS concepts such as inheritance, polymorphism, friend function, operator overloading?
What is oops?what is its use in software engineering?
What is coupling in oops?
What is object in oop with example?
What is oops and why we use oops?
What is the difference between abstraction and polymorphism?
Write a program to sort the number with different sorts in one program ??
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.
Is enum a class?