Answer Posted / sathish
Inheritance : The Base Class information passed onto
derived class.
Single Inheritance : The Derived class having only one Base
class is called single Inheritance.
Multiple Inheritance : The Derived class having more than
one base class is called Multiple Inheritance.
| Is This Answer Correct ? | 33 Yes | 1 No |
Post New Answer View All Answers
Why do we use inheritance?
Can destructor be overloaded?
What is for loop and its syntax?
c++ program to swap the objects of two different classes
What does I oop mean?
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.
write a programe to calculate the simple intrest and compund intrest using by function overlading
Can private class be inherited?
What is interface in oop?
Write a java applet that computes and displays the squares of values between 25 and 1 inclusive and displays them in a TextArea box
What is the oops and benefits of oops programming?
write string class as your own class in java without using any built-in function
What is overloading in oop?
Why it is called runtime polymorphism?
What exactly is polymorphism?