You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
System.out.println("accessing method of base class by created object is allowed but u when there is same variable in both parent and child class then parent class variable is accessible we cannot access variable of child i.e base class.");