1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | //create array Array[] cards; //create index for counting lines and another index for counting array slots int arrayindex; int textindex; while (scan.hasNext() == true ) { String lineOfText = scan.nextLine() ; if (lineOfText.length() == 0 ) { continue ; //until find a textline //somehow store text until arriving at space?!?!?! } |
Hi
Use collections instead of array.
Thanks
RAVISANKAR
--
You received this message because you are subscribed to the Google Groups "Java User Group - Chennai" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jugchennai+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--