public class MyClass { private final int DEFAULT_VALUE = 10; private int instanceValue; public MyClass() { this(DEFAULT_VALUE); } public MyClass(int value) { instanceValue = value; } }
this is my first time encountering this kind of error. can anyone explain it please.. any would be greatly appreciated