What are the advantages of inheritance?
Answer Posted / sai
Reusability means making it usable again
| Is This Answer Correct ? | 5 Yes | 0 No |
Post New Answer View All Answers
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 destructor give example?
Why do we use inheritance?
What is constructor in oop?
What is the example of polymorphism?
What is object in oop with example?
what are the realtime excercises in C++?
What is destructor example?
What is object and example?
What is the purpose of enum?
Question: Write a program that prints a paycheck. Ask the program user for the name of the employee, the hourly rate, and the number of hours worked. If the number of hours exceeds 40, the employee is paid “time and a half”, that is, 150 percent of the hourly rate on the hours exceeding 40. Be sure to use stepwi se refine ment and break your solution into several functions. Use the int_name function to print the dollar amount of the check.
write a program to find 2 power of a 5digit number with out using big int and exponent ?
Can you inherit a private class?
What is difference between abstraction and encapsulation?
Describe these concepts: Polymorphism, Inheritance and Abstraction.