When a private constructer is being inherited from one
class to another class and when the object is instantiated
is the space reserved for this private variable in the
memory??
Answer Posted / kamlesh
How do u expect a private part of a class to be inheritable
Do u have any code to support your views
I am ready to solve the same
| Is This Answer Correct ? | 10 Yes | 0 No |
Post New Answer View All Answers
Can we override main method?
Prepare me a program for the animation of train
String = "C++ is an object oriented programming language.An imp feature of oops is classes and objects".Write a pgm to count the repeated words from this scenario?
What is pointer in oop?
Why do we use encapsulation in oops?
Why do we use oops?
Who invented oop?
What is the difference between abstraction and polymorphism?
What are the benefits of oop?
What are main features of oop?
what is the sylabus for priliminaries?
What is polymorphism oop?
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 do you mean by abstraction?
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?