Overview You are tasked with writing a program called Social Security that prompts the user to enter the data (name and date-ofbirth)for a collection of people. The program will then process this collection (array) of People (objects we create in another file) to determine who qualifies for Social Security benefits. Specifications For our Social Security program we will need two java files 1. Person java The person class which stores the data for a specific individual 2. SocialSecurity.java (The driver) Details for these two class files appear below. Person ava UML diagram name: String birthdate: LocalDate Person0 Person (newName: String, month: int, day: int, year: int) NetName newName: String) void getName(): String set BirthDate month int, day: int, year int) void get BirthDate 0 LocalDate toString(): String calculate Age(myBirth LocalDate) int Person ava method description Two constructors 1. A Default constructor that creates a Person whose name and birthdate are set to null. 2. A parameterized constructor that accepts a String representation of the name, and three integers corresponding to the month, day, and year in which the person was born. Setters and getters for the two instance variables. A toString0 method that prints the person in the form dob Solution import java.time.LocalDate; import java.time.Period; import java.time.format.DateTimeFormatter; import java.util.Scanner; class Person { String name; LocalDate birthdate; public Person() { super(); } public Person(String name, int month, int day, int year) { super(); this.name = name; this.birthdate = LocalDate.of(year, month, day); } public String getName() { return name; } public void setName(String name) { this.name = name; } public LocalDate getBirthdate() { return birthdate; } public void setBirthdate(int month, int day, int year) { this.birthdate = LocalDate.of(year, month, day); } @Override public String toString() { DateTimeFormatter formatter = DateTimeFormatter.ofPattern(\"MM/dd/yyyy\"); birthdate.format(formatter); return \"Person [name=\" + name + \", birthdate=\" + birthdate + \"]\"; } public int calculateAge() { return Period.between(birthdate, LocalDate.now()).getYears(); } public void qualifySSN() { if(this.calculateAge()>66) System.out.println(\"Qualifies for Social Security Benifits\"); else System.out.println(\"Doesnot qualifies for Social Security Benefits\"); } } public class SocialSecurity { public static void main(String[] args) { if (args.length > 1) System.out.println(\"Invalid number of command line arguments\"); int num = Integer.parseInt(args[0]); Person[] p = new Person[num]; Scanner in = new Scanner(System.in).useDelimiter(\"\\\ \"); ; for (int i = 0; i < num; i++) { System.out.println(\"enter persons name\"); String name = in.next(); System.out.println(\"enter date of birth in the format Month Day Year\"); String dob = in.next(); String[] temp = dob.split(\" \"); p[i] = new Person(name, Integer.parseInt(temp[0]), Integer.parseInt(temp[1]), Integer.pa.