I’m having difficulties storing date of birth in the “Date” datatype in Java, below is the complete question, please help.
I would like to create a Student class that has the followingvariables
– String studentName
– long studentId
– Date birthDate
and want to write Java code for this Student classspecification, including instance variables, getters and settersand 2 constructors, including default constructor. Then create anarray of Students, using the following data and print theircomplete data
1. studentName: Claudia Martin, studentId:123, birthDate: 06/12/1988
2. studentName: Francisco Lopez, studentId:456, birthDate: 07/06/1951
3. studentName: Sean Smith, studentId: 789,birthDate: 04/21/1976
4. studentName: Russel Weaver, studentId: 321,birthDate: 05/25/1974
5. studentName: Betty Dean, studentId: 654,birthDate: 04/21/1980
Below
PayPal Gateway not configured
PayPal Gateway not configured