p3.2551.Spring2011 - Program #3 COP 2551_12004 Spring 2011...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
Program #3 COP 2551_12004 Spring 2011 Due: Wednesday, March 9 th , start of class. Drop dead date: March 14 th (we are on Spring Break then) Objectives: Gain experience using multiple classes Gaining experience with Java programs of multiple classes / objects To gain experience in the detailed design of Java classes as well as Constructors, ToString, and other functionally-required methods. To gain additional experience with loops and conditional expressions. To gain experience with method calls and parameter passing To gain experience with instance variables and class variables. To gain experience in seeing association relationships and specifically aggregation relationships and how to implement these. UML diagrams must reflect the associations / aggregation relationships. To gain experience using DecimalFormat class and charAt method of String. Requirements: This program has much to do about objects and their dependencies and relationships. You will be creating a number of objects, performing some calculations, sending messages, use ToString to print out values of objects, and formatting output. First of all, to accomplish much of this program, you will need to study/review class variables (static variables), DecimalFormat class objects, charAt method of String objects, UML examples, and more. This program deals with students and their classifications (freshman, sophomore, etc.), the class that they are enrolled in, their gpa, and other summary statistics. You are to develop a class called StudentBody. Your ‘Main’ class, and in particular, your main() method will be responsible for maintaining a number of Courses and Students in these courses. You will instantiate six Student objects.
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 4

p3.2551.Spring2011 - Program #3 COP 2551_12004 Spring 2011...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online