Assigned: Wednesday, February 2, 2000
Due: Tuesday, February 8, 2000
Build a class,
StudentInfo, that can be used to
store information on a student. You need not worry about
storing information on all a student's classes; overall GPA
As you might expect, some aspects of student information will
change, while other aspects will remain fixed. You should
setXXX method for things that can change.
You should define a
getXXX method to extract
any piece of information you think that another class might
use. At least one of your methods should do more than just
get or set a field of the class.
Once you have built the class, write a simple test program that shows that the various methods work.
You may work alone or in groups of up to size four. If you work in a group, turn in one assignment for the whole group.
For extra credit, use auxiliary classes to store portions of
the information. For example, you might define a separate
Name class to represent names.
Wednesday, February 2, 2000
Monday, January 31 2000
Disclaimer Often, these pages were created "on the fly" with little, if any, proofreading. Any or all of the information on the pages may be incorrect. Please contact me if you notice errors.
This page may be found at http://www.math.grin.edu/~rebelsky/Courses/CS152/2000S/Assignments/assign.02.html
Source text last modified Wed Feb 2 09:26:37 2000.
This page generated on Wed Feb 2 09:26:40 2000 by Siteweaver. Validate this page's HTML.
Contact our webmaster at firstname.lastname@example.org