Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /**
- * Write a description of class SortProject here.
- *
- * @author Ulizio
- * @version 1
- */
- public class SortProjectStrings
- {
- public static void main(String [] args) {
- try {
- int size = 0;
- Scanner scan = new Scanner(new BufferedReader(new FileReader("words.txt")));
- //scan.useDelimiter(",");
- //The delimiter is a coma with no space, so we will sep. nums with just a comma.
- //Create and prep the scanner
- while(scan.hasNext()) {
- size++;
- //System.out.println(scan.nextDouble());
- }
- } catch(Exception e) {
- System.out.println(e.getMessage());
- }
- }
- }
Add Comment
Please, Sign In to add comment