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: +SumCap(): Double +remove(in name string): bool +AddComp(in c:Company) 2 • CompanyGroup Class:-Display(in name: string): Displays name, capital, number of employees for the company that have the specified name. -GetComp(in name: String): Company returns the company object that have the name specified. -search(in name: string): int returns the index of company that its name specified. - SumCap(): Double computes the summation of all company capitals. - remove(in name string): bool Deletes the company of the specified name. Implement Employee, Company, CompanyGroup and a main class to test your program....
View Full Document
This note was uploaded on 11/28/2011 for the course COMPUTER S 113 taught by Professor Dr.safwanqasem during the Spring '11 term at King Saud University.
- Spring '11
- Java Programming