{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

CSC-113-Tutorial 3(2) - Course objects and insert them in...

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

View Full Document Right Arrow Icon
KSU / CCIS / CS DEPARTMENT CSC-113, SPRING 2010 TUTORIAL 3 ARRAY OF OBJECTS & METHOD RETURNING OBJECT Using the code developed in tutorial 2, add the following methods to the ArrayCourses class: o public Course findCourse(Course crs) o public Course getPrereq(Course crs) o public Course getPrereq(String code) Create a class Application that contains a main() with the following statements: o Create an ArrayCourses object o Use a scanner to create the following
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Course objects and insert them in the array:  Code: CSC 113; title: Java Programming II; prerequisite: null  Code: CSC 342; title: SW Engineering; prerequisite: null  Code: CSC 443; title: Project Management; prerequisite: [object CSC 342] o Create a Class object that correspond to the CSC 443 course o From the array, retrieve and return the object equal to the CSC 443 object o Display the code and title of the CSC 443 prerequisite...
View Full Document

{[ snackBarMessage ]}

Ask a homework question - tutors are online