class Parent { Parent(int x) {} } class CallMethodBeforeSuper extends Parent { int compute() { return 42; } CallMethodBeforeSuper() { int v = compute(); // instance method call before super() super(v); } }