Hi, I have a scenario like this
Now in my caller i am wanting to create full C or B objects
Now no matter what i do i.e A a = new A or A A = new b|c, i cant access b or c elements from parent's reference...obviously!.
This tells me that there is some inherent design flaw in the way classes are being organized. Is there a way to design this..any design
pattern for this kind of scenario where 90% of the members exist in parent class and a complete object including child elements is to be created
Kindly suggest