package Debuger; public class Calc extends Object { static int n = 0; static { n = 2; } public static void main (String args[]) throws Exception { Second calc = new Second(); System.out.println("Result1: " + calc.sum(2 * n, 2)); } } class Second { static int err; static { err = -1; // BREAKPOINT } public int sum(int x, int y) { return x + y + err; } }