What is function overloading and operator overloading?
Answer Posted / jha
Both function overloading and operator overloading is same
thing we can reuse the thing. In operator overloading we
can reuse the operator and user can work through object;
In function overloading we can overloading the same method
in derived class.
| Is This Answer Correct ? | 28 Yes | 36 No |
Post New Answer View All Answers
What are the 4 pillars of oop?
Why do we use oops?
Can destructor be overloaded?
hi all..i want to know oops concepts clearly can any1 explain??
What is encapsulation c#?
How long to learn object oriented programming?
What are the components of marker interface?
Can you inherit a private class?
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.
Why do we need oop?
i=20;k=0;
for(j=1;k-i;k+=j<10?4:3)
{
cout< What is the purpose of enum? What is use of overloading? What is encapsulation in ict? What is oops and its features?