posted 15 years ago
PriorityQueue<Integer> p=new PriorityQueue<Integer>(???,pqs);
The above line is taken from a program, where pqs represents the object of a comparator. but i do not know what is the first argument there. actually it is given as
PriorityQueue<Integer> p=new PriorityQueue<Integer>(10,pqs);
please explain..