Question: public class Top { public int top = 1 ; public Top ( int top ) { this.top = top; } } public class Middle
public class Top
public int top ;
public Topint top
this.top top;
public class Middle extends Top
public Middleint top
supertop;
this.top this.top top;
public class Bottom extends Middle
public Bottom
super;
public Bottomint top
supertop;
this.top top;
What is the value of ttop when Top t new Bottom
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
