Hello.
I've been trying to understand an online material about Binary search trees posted there
http://www.vias.org/cppcourse/chap21_10.html
I wonder if the code given for class is wrong, or does it use ideas I'm not familiar with? I'm not able to get it to work in my Borland compiler either. It seems to me like there is a } missing, and I also wonder why is class declared as public? I've never had to declare classs as public so far in home assignments, and I can't find much about it on the net.
I'm only having trouble understanding this class.
public class Tree {
Object[] array;
public Tree () {
array = new Object [128];
}
Thanks.