Is It A Bug
I have Used FileReader.................
package com.codegym.task.task19.task1921;
import java.util.*;
import java.io.*;
/*
John Johnson
*/
public class Solution {
public static final List<Person> PEOPLE = new ArrayList<>();
public static void main(String[] args) throws Exception{
FileReader reader = new FileReader("D:/s.txt");
while(reader.ready()){
int a = reader.read();
String read = Integer.toString(a);
Date date = new Date();
PEOPLE.add(new Person(read,date));
}
reader.close();
}
}