This preview shows pages 1–2. Sign up to view the full content.
This preview has intentionally blurred sections. Sign up to view the full version.View Full Document
Unformatted text preview: that have the specified name. b. +GetOrg(in name:String): Department returns the Department object that have the name specified. c. +search(in name:string): int returns the index of Department that its name specified. d. +remove(in name string):bool ? Deletes the Department of the specified name. e. Arrayoffaculty(in x:int): Department -> returns an array containing all the department that has number of faculty>x Main() You must make this menu: to add new Department • Input Department name and no • And 1) to add faculty to this Department (input all faculty information. • 2) to exit adding faculty 2) to display name, number of faculty for the Department • Input the Department name. • Use search method delete Department: • Input Department name. 1. to display the names of all Departments in the college which have number of faculty > 3....
View Full Document
- Spring '11
- Java Programming