Answer Posted / manish chakravarti
overloading:Two function have same name and same return type
but different type of arguments used.
overriding:Two function have same name and same arguments
used but that function defined in a base class redefined in
a derived class
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is persistence in oop?
What is difference between oop and pop?
what's the basic's in dot net
Can we create object of interface?
What is oops concept with example?
Are polymorphisms mutations?
What are the benefits of interface?
Why multiple inheritance is not allowed?
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.
when to use 'mutable' keyword and when to use 'const cast' in c++
What is new keyword in oops?
i=20;k=0;
for(j=1;k-i;k+=j<10?4:3)
{
cout< Why do we use encapsulation in oops? How do you answer polymorphism? Which language is not a true object oriented programming language?