Main.java:1: error: class MaxTree is public, should be declared in a file named MaxTree.java
public class MaxTree extends SegmentsTree {
^
Main.java:1: error: cannot find symbol
public class MaxTree extends SegmentsTree {
^
symbol: class SegmentsTree
Main.java:7: error: method does not override or implement a method from a supertype
@Override
^
Main.java:12: error: method does not override or implement a method from a supertype
@Override
^
Main.java:17: error: method does not override or implement a method from a supertype
@Override
^
Main.java:24: error: cannot find symbol
func[v] += delta;
^
symbol: variable func
location: class MaxTree
Main.java:25: error: cannot find symbol
this.delta[v] += delta;
^
symbol: variable delta
Main.java:22: error: method does not override or implement a method from a supertype
@Override
^
8 errors