Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

a. Include a Javadoc comment at the top of the class. The Javadoc comment should contain: i. The name of the class and a (very)

a. Include a Javadoc comment at the top of the class. The Javadoc comment should contain: i. The name of the class and a (very) short description ii. An @author tag followed by your name iii. An @version tag followed by the version number. b. Do not include a main method inside the class definition. In this case, the class is not a complete program. It will simply be used to represent a Name concept. 7. A Student contains the following information: first name, last name, year of birth, student number, and GPA. Using sensible data types and variable names, declare private instance variables for each of these. 8. A Student has a public constructor which accepts one parameter for each of the instance variables. The body of the constructor should assign each parameter to its respective instance variable. 9. Create an accessor and a mutator for each instance variable. 10. Create a toString() method which returns a String composed of the concatenation of the information in the Student. 11. Again, how might you test this class. Is it necessary? Could anything go wrong?

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions