Write java code for the following information.Student is super class. The Student Attributes is protected String Name, private String ID, private int Age, protected String Sex.student1, student2, student3 is Sub class

public class Student {

protected String Name;
private String ID;
private int Age;
protected String Sex;

public Student(String name, String id, int age, String sex) {
this.Name = name;
this.ID = id;
this.Age = age;
this.Sex = sex;
}
}

public class student1 extends Student {
public student1(String name, String id, int age, String sex) {
super(name, id, age, sex);
}
}

public class student2 extends Student {
public student2(String name, String id, int age, String sex) {
super(name, id, age, sex);
}
}

public class student3 extends Student {
public student3(String name, String id, int age, String sex) {
super(name, id, age, sex);
}
}