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
What is encapsulation example?
Why do we use polymorphism?
What is encapsulation with real life example?
Why multiple inheritance is not possible?
Write a java applet that computes and displays the squares of values between 25 and 1 inclusive and displays them in a TextArea box
What is difference between oop and pop?
Write a c++ program to display pass and fail for three student using static member function
can we make game by using c
What is encapsulation c#?
What is the renewal class?
What is encapsulation oop?
what is the drawback of classical methods in oops?
What is encapsulation process?
Get me a number puzzle game-program
hi all..i want to know oops concepts clearly can any1 explain??