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 / karandeep malik
The question is very absurd. From where did we get the
variable stuff? And ya, how on earth do we get private
members/functions being inherited? Kamlesh is right in
saying that The whole idea stinks.
| Is This Answer Correct ? | 8 Yes | 1 No |
Post New Answer View All Answers
What is debug class?what is trace class? What differences are between them? With examples.
How to hide the base class functionality in Inheritance?
Can private class be inherited?
if i have same function with same number of argument but defined in different files. Now i am adding these two files in a third file and calling this function . which will get called and wht decide the precedence?
Can a varargs method be overloaded?
What is coupling in oops?
what is the drawback of classical methods in oops?
write a program to find 2 power of a 5digit number with out using big int and exponent ?
Can abstract class have normal methods?
Why is polymorphism used?
Can static class have constructor?
How to improve object oriented design skills?
What is destructor give example?
Is data hiding and abstraction same?
What is and I oop mean?