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
- Spring '11
- Java Programming, Display device, CompanyGroup