import java.util.Stack;

class Hanoi {

    static int Disks = 4;

    Board board = new Board(Disks);

    Stack<Integer> peg_1 = new Stack<>();
    Stack<Integer> peg_2 = new Stack<>();
    Stack<Integer> peg_3 = new Stack<>();

    public static void main(String[] args) {
        new Hanoi().solve(Disks);
    }

    private void solve(int disks) {
        setUp(disks);
        board.start();
        board.show(this);
        move(disks, peg_1, peg_2, peg_3);
        board.done();
    }

    private void move(int n, Stack<Integer> sourcePeg, Stack<Integer> helperPeg, Stack<Integer> targetPeg) {
        if (n > 0) {
            move(n - 1, sourcePeg, targetPeg, helperPeg);
            targetPeg.push(sourcePeg.pop());
            board.show(this);
            move(n - 1, helperPeg, sourcePeg, targetPeg);
        }
    }

    private void setUp(int disks) {
        for (int i = disks; i > 0; i--) {
            peg_1.push(i);
        }
    }
}
@@ -295,21 +295,16 @@
 ).solve(
-Disks
 );%0A    %7D
@@ -328,25 +328,16 @@
 d solve(
-int disks
 ) %7B%0A    
@@ -346,21 +346,16 @@
   setUp(
-disks
 );%0A     
@@ -411,17 +411,17 @@
    move(
-d
+D
 isks, pe
@@ -834,17 +834,8 @@
 tUp(
-int disks
 ) %7B%0A
@@ -855,17 +855,17 @@
 int i = 
-d
+D
 isks; i 

use Disks constant in favor of passing disks argument