Are we talking here of Parent and child class? So in my interpretation three questions,:
1. When we create a child (derived)class, can it access a method of its Parent(base) class (Superclass)?
2. During the hierarchy class construction is the superclass created when we call an instance of the child class?
3. Is this represented in the constructor?
1. It depends on the access modifier of the method we are trying to access, is it visible to the child or not,.
this can also depend on if the child (derived) class is in the same package as its parent (the base class).
If the method we are trying to access is private, then unless the derived class is an inner-class it cannot see the
method (it is not visible). For more information, have a look for tutorials and info on access modifiers.
2.Yes, when an application is first loaded into memory, the JVM by the
Java Magic
checks all the members
and classes that require memory, and when a specific class instance is found, it also loads all classes,objects and paraphernalia,
all the way up the inheritance tree all the way up to our good old friend java.lang.Object.
3.Certainly it may be implicit and hidden( if we do not supply any explicit calls), but constructors will always be fed a
nice chunky call to super() to get them in the inheritance mood.
Hope this is near enough what you meant, if not, apologies.