View the step-by-step solution to:

Question

Please help me with this assignment 4. Its about creating two classes for the picture I provided below. One for a

CLUB class, and one for the President class. I don't understand how to go about this.

assignment4.png

Club
-clubName:String ""
-numberOfMembers:int=0
-university:String="7"
-currentPresident: President
President
Assignment4
-firstName:String-"7"
-lastName:String=17"
-academicLevel:String er
+main(String[ ]):void
+Club
+printMenu(): void
+getClubName():String
+President()
+getNumberOfMembers()-int
+getFirst Name():String
+getUniversity():string
+getLastName():String
+getCurrentPresident():President
+getAcademicLevel():String
+setClubName( String):void
+setFirstName(String):void
+setNumberOfMembers(int):void
+setLastName(String): void
+setUniversity(String):void
+setAcademicEvel(String)-void
+setCurrentPresident(String.String. String ):void
+toString():String
+toString():String

Top Answer

public class President { String firstName = "?"; String lastName = "?"; String academicLevel = "?"; President() { } public... View the full answer

Sign up to view the full answer

Why Join Course Hero?

Course Hero has all the homework and study help you need to succeed! We’ve got course-specific notes, study guides, and practice tests along with expert tutors.

  • -

    Study Documents

    Find the best study resources around, tagged to your specific courses. Share your own to gain free Course Hero access.

    Browse Documents
  • -

    Question & Answers

    Get one-on-one homework help from our expert tutors—available online 24/7. Ask your own questions or browse existing Q&A threads. Satisfaction guaranteed!

    Ask a Question