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 / veena

When a constructor is made private, object of that class
can not be created. That is called as Abstract class.
constructors can not be inherited. Moreover, when this
class is inherited, the base class object can not be
created. So we can not create the derived class object
also.

Is This Answer Correct ?    0 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

write string class as your own class in java without using any built-in function

1976


How do you use inheritance in unity?

590


Why is there no multiple inheritance?

570


What is coupling in oop?

600


officer say me - i am offered to a smoking , then what can you say

1580






I have One image (means a group photo ) how to split the faces only from the image?............ please send the answer nagadurgaraju@gmail.com thanks in advace...

1628


Is html an oop?

582


What is difference between class and object with example?

564


What is destructor in oop?

625


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?

2759


Why do pointers exist?

659


write a program that takes input in digits and display the result in words from 1 to 1000

1989


What is coupling in oops?

598


What is encapsulation oop?

578


What is solid in oops?

609