CSC113_Tutorial4 - getEmailaddress String getName:string...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
KSU/CCIS CSC113/2010 Totorial4: Relationship Between classes Contact : Contact -emailaddress:String -faxnumber:String -Name:string Addressbook +Contact(in emailaddress:String, in faxnumber:string, name:string) +getEmailaddress():string +getfaxnumber():string +getname():string +setEmailaddress(in add:string) +setfaxnumber(in fax:string) +setName(in name:string) +Display() -Name:String +getcontact():contact +getcontacts():contact[] +getname():string +insertcontact(in contact):void +deletecontact(in contact):boolean +setname(string):void Account -Name:String -emailaddress:string
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Background image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: +getEmailaddress(): String +getName():string +setEmailAddress(string):void +setname(string):void 1 * * 1 You can add other method but not the constructors Addressbook +getcontacts():returns the contact details college d. +delete(in contact ):bool ? Deletes the contacts of the specified name. Main() You must make this menu: to add new Addressbook • Input addressbook name and no • And 1) to add contact to this addressbook (input all address information. • 2) to exit adding contact 2) to display emailaddress, fax and name for the addressbook...
View Full Document

{[ snackBarMessage ]}

Page1 / 2

CSC113_Tutorial4 - getEmailaddress String getName:string...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online