The class below has some errors. For each error do the following:
a) Write the erring section of code and explain what the error is.
b) Fix the error (i.e. re-write the code correctly).
public class ClassWithErrors {
public value;
public int array of numbers[] = int[3];
public void ClasswithErrors() { }
public void ClassWithErrors(int value)
{
value = this.value;
}
private void getValue() { return;
}
private int printValue(whatValue) { }
for (int 1 = 0; i< 3; i++){
System.out.println(numbers( ?));
}
}