public class Student { //instance variables private Student name; private Student courseCode; private Student studentID; public Student(Student aName, Student aCourse, Student idNumber) { this.name = aName; this.courseCode = aCourse; this.studentID = idNumber; } /** * * Displays to the standard output the receiver's details. * * */ private Student displayStudent() { return this.name; } /** * * Displays to the standard output the receiver's name. * * */ private Student displayName() { return this.name; } /** * * Displays to the standard output the receiver's course. * * */ private Student displayCourse() { return this.courseCode; } /** * * * Displays to the standard output the receiver's ID. * * * * * */ private Student displayID() { return this.studentID; } }