Answer Posted / ashwini bhusari
the concept behind the inheritance is that we can create a
object of another class and getting all the characteristics
of the base class.the class who get characteristic is
called derived class because it is deriving from the base
class.the class from which class is derived is called base
class.so, we can create another class from the existing
one.this is the greatest advantage.
| Is This Answer Correct ? | 16 Yes | 3 No |
Post New Answer View All Answers
How oops is better than procedural?
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.
Can we define a class within the interface?
What are the three parts of a simple empty class?
What is oops?what is its use in software engineering?
What is the fundamental idea of oop?
assume the program must insert 4 elements from the key board and then do the following programs.sequential search(search one of the elements),using insertion sort(sort the element) and using selection sort(sort the element).
What are main features of oop?
What is the significance of classes in oop?
What does it mean when someone says I oop?
i got a backdoor offer in process global,Bangalore..Can i work with it?
What is class and example?
Is abstract thinking intelligence?
What is constructor overloading in oop?
What is the difference between inheritance and polymorphism?