Posted on 2002-07-09
in order to use
max(int, int) do I have to include/import a package? If so, which one?
When I compile after using this method, I get:
C:\My Documents\CS 342\03\AvlTree.java:71: cannot resolve symbol
symbol : method max (int,int)
location: class AvlTree
t.height = max( height( t.left ), height(t.right) )+1;