Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import java.util.*;
- import java.io.*;
- import java.text.*;
- public class FinalProject{
- public static void main(String[] args) throws IOException{
- long startTime = System.currentTimeMillis();
- long stopTime;
- long duration;
- Scanner sc = new Scanner(System.in);
- System.out.println("Enter your username: ");
- String userName = sc.next();
- System.out.println("Enter your password: ");
- String password = sc.next();
- BufferedReader br = new BufferedReader(new FileReader(new File("UsersInfo_101.txt")));
- String strline;
- int count = 0; count++;
- while((strline = br.readLine()) != null) {
- }
- stopTime = System.currentTimeMillis();
- duration = stopTime-startTime;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement