Question: Object Oriented Programming 6. Write a Java class for representing students. The constructor should take a name, such as Taylor Swift and college year number

 Object Oriented Programming 6. Write a Java class for representing students.

Object Oriented Programming 6. Write a Java class for representing students. The constructor should take a name, such as Taylor Swift and college year number (1 for firstyear, 2 for sophomore, 3 for junior, and 4 for senior). Initially, students should start out in the "relaxed" state. The class should have two additional methods: advance that will move the student's year to the next year, and prepare that will put the student in the "study" state. Create two instances of your student class (13 points)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!