|
Little Error
Hi,
You cant call a non-static method by using Classname.Methodname format. You have to first create an object of the Class first, then use that object to call the methd. For instance:
PriorityQueue x = new PriorityQueue();
x.count();
or use a faster approach...
new PriorityQueue().count();
any of these should work.
Take care!
Jide
|