Hema Latha M S wrote:Can anyone tell me the reason why cant i call super() or why cant i use super in the very first line inside the class, but we can use same inside methods or constructor
Crystal Zeng wrote:
Campbell Ritchie wrote:How can Hippo have the name if it can't touch it?
You have a big box, and you can't open it by hand directly , you need a key to open it. In this situation, you say to people ,"No, I don't have a box."
Crystal Zeng wrote:A class is a blueprint for its object.An object is designed based on its members. If Hippo has no members called name, why Hippo's name data exist? It seems strange.
You are saying Hippo has a name. If so , Where does the name come from ? From its superclass ,right? If so , why does it say that private members are not inherited?