datatype,firstname,lastname,identifier,height,weight,email,hiredate,jobposition,salary,nameschool,graduationyear,major,schoolarship
employee,dawid,kowal,919e,185,54,[email protected],2000-24-05,software,5000
student,mietek,januszewski,43534,143,65,null,null,null,podstawowa,2005,infa,500
how to read file like this ?
public class Person {}
public class Employee extends Person{}
method must be resistant to modification , we must read all type which inherited after person
Can I store this CSV FILE TO this class ?
public class CreatePersonCommand {
private String dataType;
private Map<String, String> params;
}
2