CSC113_Tutorial3 - teacher searchTeacher(string ttid...

Info icon This 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)
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

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern