CSC113_Tutorial3 - teacher searchTeacher(string ttid )...

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

View Full Document Right Arrow Icon
Tutorial 3 : Array of Objects Date : 23/10/2010 Create class c teacher including the following: teacherId teacherName Build a required getters, setters and constructor. Create class Department including the following: Teachers : an array of type teacher which has maximum to 15 teachers. Implement the Constructor and the following methods : Boolean addNewTeacher( cteacher e)
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: teacher searchTeacher(string ttid ) Boolean deleteTeacher(String ttid) Int getDepartmentHavingTheMaximumTeacherNumber (). Write a main class to test the class Department. The class main should implements the following menu: 1. Add new teacher 2. Search a teacher 3. Delete teacher 4. Display department that has maximum number of teachers 5. Exit...
View Full Document

Ask a homework question - tutors are online