I have reached step 8 but I got confused after Can someone b
I have reached step 8 but I got confused after. Can someone be of assistance? I have attached my original code and my current code.
--------------------------------------------------------------------------------------------------------------------
public abstract class Student
 {
     private static int numberOfStudents;
     private String firstName, lastName, ID;
     private Date birthDate;
     private double gpa;
     public Student(String first, String last, String emplid, double gpa, int Year, int Month, int Day)
     {
         firstName = first;
         lastName = last;
         ID = emplid;
         this.gpa = gpa;
         numberOfStudents++;
     }
     public static int getNumberOfStudents()
       {
           return numberOfStudents;
       }
    public double getGpa()
       {
         return gpa;
       }
     public void displayAttribute()
       {
         System.out.println(\"Student Name: \"+firstName+\" \"+lastName);
         System.out.println(\"GPA: \"+gpa);
       }
 }
--------------------------------------------------------------------------------------------------------------------
 public class Date {
     public int Day;
     public int Month;
     public int Year;
    
     public Date()
     {
       Day = 1;
       Month = 1;
       Year = 1950;
     }
    public Date(int Day, int Month, int Year)
     {
    }
 }
_____________________________________________________________________
 public class QueensCollegeStudent
 {
     private String venueLogin;
 }
_____________________________________________________________________
Homework 3 Prerequisites before starting on Homework 3: 1) For those that have done it incorrectly, take out the main method from your Student class and put it in a new class. (That means, create a new class and put the main method in it) Name it appropriately 2) Secondly, if you have done it incorrectly, put all the code you have used to generate data outside the Student class. That means, there should NOT be any code inside your Student class that randomize the GPA, the venus login, etc. Instructions for Homework 3: 1) Create a new project called Homework3 and import the \'correct version\' (that means you need to make the changes listed in prerequisites above) of Homework 2 into your new project. There should be two new classes and/or two files. One class should be called Student and the other should be called appropriately. I recommend names like StudentGenerator or StudentDriver 2) Create a new class called Date. This class should have three attributes of integer type: year month, day. In this new c lass i) Create an empty/default constructor (No parameters/arguments). In the constructor, initialize the year, month, and day to January 1st, 1950 ii) Create an overloaded constructor that accepts the following parameters in the exact order: (You are not allowed to change the name. Points will be deducted if you don\'t use this name) a) day (integer type) b) month (integer type) c) year (integer type) Initialize all of the attributes of the Date object using the passed in parameters specified above 3) Create/Insert a new attribute in your Student class called birthDate (of type Date) 4) Change the CUNYID attribute in your Student class to ID instead 5) Lastly, make your Student class abstract 6) Create a new class called QueensCollegeStudent that \'inherits\' from the Student class [Checkpoint: By now, you should have a total of 4 classes. (Date, Student QueensCollegeStudent, StudentGenerator/Driver The class that host your main method) 7) Move the venusLogin attribute from the Student class to QueensCollegeStudent class. (That means, delete venusLogin in Student class and insert it into the QueensCollegeStudent class)Solution
public class Date
 {
 public int Day;
 public int Month;
 public int Year;
 
 public Date()
 {
 Day = 1;
 Month = 1;
 Year = 1950;
 }
 public Date(int Day, int Month, int Year)
 {
 this.Day=Day;
   
 this.Month=Month;
 this.Year=Year;
 }
 }
public class QueensCollegeStudent extends Student
 {
 private String venueLogin;
   
public QueensCollegeStudent(String first, String last, String emplid, double gpa, int Year, int Month, int Day) {
 super(first, last, emplid, gpa, Year, Month, Day);
 }
   
 public static void main(String args[])
 {
 Date d=new Date();
 }
 }
i have to implement this.plz send more requirements.



