// **************************************** // Source code file: B.java public class B { private int x, y; public B(int x, int y) { this.x = x + 3; this.y = y + 4; } public void augment( ) { this.x *= 2; this.y += 1; } @Override public String toString( ) { return String.format("&%d&", this.x + this.y); } } // **************************************** // Source code file: Main.java public class Main { public static void main(String[] args) { B b = new B(5, 6); for(int i = 1; i <= 3; i++) { b.augment( ); } System.out.println(b); } } // **************************************** Ans: Here is the trace table and output: i a.x a.y -----+-----+-----+ Output: &77& 8 10 1 16 11 2 32 12 3 64 13