Main - import java.io.*; i import java.util.*; p public...

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

View Full Document Right Arrow Icon
import java.io.*; import java.util.*; i public class Main { p public static void main(String[] args) { Student[] students = new Student[10]; Course[] courses = new Course[10]; courses[0] = new Course("cis3022", "java1", "MWF-2"); courses[1] = new Course("cis3023", "java2", "MWF-3"); courses[2] = new Course("cis3020", "java", "MWF-5"); courses[3] = new Course("cot3100", "discrete math", "TR-5"); students[0] = new Student("Nathan", "Vanderkraats", "111-11-1111", "ndv@cise", 4.0); students[1] = new Student("Shayan", "Javed", "111-11-1112","sj@cise", 3.0); students[2] = new Student("Ruijin", "Wu", "111-11-1113", "rw@cise", 3.5); students[3] = new Student("Wenjie", "Yuan", "111-11-1114","wy@cise", 4.0); students[4] = new Student("Karthik", "Gurumoorthy", "111-11-1115", "kg@cise", 3.8); " students[0].addCourse(courses[0]); students[0].addCourse(courses[3]); students[1].addCourse(courses[1]); students[2].addCourse(courses[2]); students[3].addCourse(courses[0]); Scanner in = null; PrintWriter out = null;
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.

This note was uploaded on 03/25/2010 for the course CIS CIS3023 taught by Professor Seema during the Spring '10 term at Florida College.

Page1 / 2

Main - import java.io.*; i import java.util.*; p public...

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