SyntaxFix
Write A Post
Hire A Developer
Questions
Try this:-
File file = new File("contactids.txt"); Scanner scanner = new Scanner(file); while(scanner.hasNextLong()) { // Read values here like long input = scanner.nextLong(); }