Does c++ support multilevel and multiple inheritance?
Answer Posted / ramu
yes
| Is This Answer Correct ? | 16 Yes | 0 No |
Post New Answer View All Answers
write a code for this:trailer recordId contains a value other than 99, then the file must error with the reason ‘Invalid RECORD_ID’(User Defined Exception).
How is polymorphism achieved?
i=20;k=0;
for(j=1;k-i;k+=j<10?4:3)
{
cout< 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. • What are the desirable attributes for memory
managment? They started with the brief introduction followed by few
basic C++ questions on polumorphism, inheritance and then
virtual functions.
What is polymorphims?
How you will access polymorphic functions in C?
How virtual function mechanism works?
What is multilevel inheritance? How to improve object oriented design skills? What is persistence in oop? What are the benefits of polymorphism? What is oops with example? What is inheritance and how many types of inheritance? What is difference between abstraction and encapsulation? what is graphics What are the three main types of variables?