Created
February 28, 2014 18:50
-
-
Save swoogles/9277222 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class TrackedFile | |
{ | |
public static void main(String[] args) | |
{ | |
go(); | |
} | |
// Is this function stupid? | |
public static go() | |
{ | |
File file = new File("randInts.txt"); | |
Random r = new Random(); | |
final int LIMIT = 100; | |
for(int i = 0; i < LIMIT; i++) | |
{ | |
file.println( r.nextInt() ); | |
} | |
file.close(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment