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

What is encapsulation example?

551


Why do we use polymorphism?

579


What is encapsulation with real life example?

572


Why multiple inheritance is not possible?

602


Write a java applet that computes and displays the squares of values between 25 and 1 inclusive and displays them in a TextArea box

2038






What is difference between oop and pop?

619


Write a c++ program to display pass and fail for three student using static member function

2818


can we make game by using c

3432


What is encapsulation c#?

601


What is the renewal class?

2170


What is encapsulation oop?

578


what is the drawback of classical methods in oops?

2920


What is encapsulation process?

584


Get me a number puzzle game-program

1694


hi all..i want to know oops concepts clearly can any1 explain??

1683