i think its just a logical reason .... take animal as superclass bird as subclass ... since we are talking about inheritance it is " is a relationship " ie bird is a animal not vice versa hence we cannot implicitly convert to subclass
On Sat, Mar 2, 2013 at 6:18 PM, sulekha metta <[email protected]>wrote: > Q) why super class object can't be implicitly converted to subclass? is > there any specific reason? > Thanks in advance! > > -- > sulekha metta > B.E computer science > osmania university > > -- > You received this message because you are subscribed to the Google Groups > "Algorithm Geeks" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
