I did correct the code
I separates words starting with S and Z from other but does not separate words staring with S and Z
as mentioned above, i was to remove wile displaying, first the words...
Type: Posts; User: Harini Rao
I did correct the code
I separates words starting with S and Z from other but does not separate words staring with S and Z
as mentioned above, i was to remove wile displaying, first the words...
when i call my "remove()" method
I want my Priority Queue to first give out the words starting with 's' then 'z' and then the rest.
these are the errors I got when I tried to complile
...
import java.util.*;
public class PriorityCustom {
public static void main(String[] args) {
String[] words = {"apple", "crowd", "snow", "place", "snap", "zoo", "zing", "smile",...