import java.time.LocalDate; public class Employee { int id; String name; String city; double salary; java.time.LocalDate birth; public Employee(int id, String name, String city, double salary, LocalDate birth) { this.id = id; this.name = name; this.city = city; this.salary = salary; this.birth = birth; } @Override public String toString() { return String.format( "%d %15s %8s %.1f %s", id, name, city, salary, birth ); } }