Student - Student.java Author Lewis/Loftus Solution to...

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

View Full Document Right Arrow Icon
//******************************************************************** // Student.java Author: Lewis/Loftus // // Solution to Programming Projects 4.6 and 4.7 //******************************************************************** / import java.text.DecimalFormat; i public class Student { private String firstName, lastName; private Address homeAddress, schoolAddress; private int test1; private int test2; private int test3; private final double NUM_TESTS = 3.0; //----------------------------------------------------------------- // Sets up this Student object with the specified initial values, //----------------------------------------------------------------- public Student (String first, String last, Address home, Address school, int testScore1, int testScore2, int testScore3 ) { firstName = first; lastName = last; homeAddress = home; schoolAddress = school; test1 = testScore1; test2 = testScore2; test3 = testScore3; } //----------------------------------------------------------------- // Sets up this Student object with the specified initial values, setting
Background image of page 1

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

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

{[ snackBarMessage ]}

Page1 / 2

Student - Student.java Author Lewis/Loftus Solution to...

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