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
write string class as your own class in java without using any built-in function
How do you use inheritance in unity?
Why is there no multiple inheritance?
What is coupling in oop?
officer say me - i am offered to a smoking , then what can you say
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...
Is html an oop?
What is difference between class and object with example?
What is destructor in oop?
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?
Why do pointers exist?
write a program that takes input in digits and display the result in words from 1 to 1000
What is coupling in oops?
What is encapsulation oop?
What is solid in oops?