What are the advantages of inheritance?
Answer Posted / masokis
1. reusability
2. maintainability
3. extensibility
4. realibility
it's the basic part :)
| Is This Answer Correct ? | 16 Yes | 1 No |
Post New Answer View All Answers
What is Difference Between Inheritance and creating object and getting data? means Class A extends B{ B.getMethod();} (OR) Class A{ b obj=new B(); obj.getMethod(); }
Why is polymorphism needed?
What is pointer in oop?
Following are the class specifications: class {int a}; class {int b}; Using friend funtion,calculate the max of two objects and display it.
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.
What is abstraction in oop?
i am getting an of the type can not convert int to int *. to overcome this problem what we should do?
Can we create object of abstract class?
What is solid in oops?
What is the importance of oop?
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?
How do you explain polymorphism?
What is polymorphism in oops with example?
What is pure oop?
How many human genes are polymorphic?