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 / karandeep malik

The question is very absurd. From where did we get the
variable stuff? And ya, how on earth do we get private
members/functions being inherited? Kamlesh is right in
saying that The whole idea stinks.

Is This Answer Correct ?    8 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is encapsulation c#?

602


Why is oop useful?

603


How do you explain polymorphism?

596


What is an interface in oop?

596


write a program to find 2^n+1 ?

1554






Is html an oop?

584


What is a class oop?

594


What is inheritance and how many types of inheritance?

622


What are main features of oop?

637


Which language is pure oop?

552


What is object in oops?

616


What are different types of JVM's? for example we use dalvik jvm for android then what about the remaining operating systems?

1655


How do you answer polymorphism?

578


What is an example of genetic polymorphism?

652


INSTANCE FIELDS DECLARED private ARE ACCESSIBLE BY THE METHODS ONLY.CAN WE CHANGE THE private FIELD OF AN OBJECT IN A METHOD OF SOME OTHER OBJECT OF THE SAME CLASS?

1639