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 / uttama
constructors can not be inherited!
bcoz their work is to initialise the object of the class to
which they belong to!
so if they get inherited,how can they initialise the object
of the derived class!
| Is This Answer Correct ? | 17 Yes | 0 No |
Post New Answer View All Answers
Why do we use class in oops?
Can an interface inherit a class?
Can main method override?
Describe these concepts: Polymorphism, Inheritance and Abstraction.
How to handle exception in c++, For example in a functions i am assigning memory to some variables and also in next instructions in am dividing one variable also. If this functions generates a error while allocating memory to those variable and also while dividing the variable if i divide by zero then catch block how it will identify that this error has cone from perticular instruction
What is a null tree?
What is the important feature of inheritance?
What is meant by multiple inheritance?
Is abstract thinking intelligence?
What does sksksk mean in text slang?
What are the data types in oop?
How is polymorphism achieved?
What is object and example?
What is abstraction oop?
Why interface is used?