ForeignStudent -...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
//******************************************************************** // ForeignStudent.java Author: Lewis and Loftus // // Solution to Programming Project 7.5 //******************************************************************** / public class ForeignStudent extends Student { private String nationality; //------------------------------------------------------------------ // Creates a student with age and location and university, and nationality
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: //------------------------------------------------------------------public ForeignStudent(int personAge, String personLocation, String personUniversity, String personNationality) { super(personAge, personLocation, personUniversity); nationality = personNationality; } public String toString() { return super.toString() + "\nNationality: " + nationality; } }...
View Full Document

This note was uploaded on 05/17/2011 for the course COP 3530 taught by Professor Davis during the Spring '08 term at University of Florida.

Ask a homework question - tutors are online