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


Please Help Members By Posting Answers For Below Questions

What do you mean by abstraction?

615


What is difference between inheritance and polymorphism?

573


What is the real time example of inheritance?

643


What does I oop mean?

616


Why do we use oops?

593






What is the oops and benefits of oops programming?

555


Can we create object of abstract class?

577


INSTANCE FIELDS DECLARED private ARE ACCESSIBLE BY THE METHODS ONLY.CAN WE CHANGE THE private FIELD OF AN OBJECT IN A METHOD OF SOME OTHER OBJECT OF THE SAME CLASS?

1634


When not to use object oriented programming?

572


What is constructor overloading in oop?

607


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.

699


Why is static class not inherited?

599


What is the point of oop?

656


What are oops methods?

568


What is abstraction in oop?

634