Answer Posted / shiraz abbas rizvi
When used as a modifier, the new keyword explicitly hides a
member inherited from a base class. Hiding an inherited
member means that the derived version of the member
replaces the base-class version.
Is This Answer Correct ? | 6 Yes | 1 No |
Post New Answer View All Answers
to find out the minimum of two integer number of two different classes using friend function
What is the purpose of polymorphism?
what type of questions
What is a class in oop?
What is a superclass in oop?
What is inheritance in oop?
How do you define a class in oop?
what is difference between class template and template class?
i got a backdoor offer in process global,Bangalore..Can i work with it?
How to improve object oriented design skills?
explain sub-type and sub class? atleast u have differ it into 4 points?
When not to use object oriented programming?
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 encapsulation and abstraction? How are they implemented in C++?
What is the problem with multiple inheritance?