1305 10-2.docx - Erin Hampton 7a. Design a class named...

This preview shows page 1 - 2 out of 2 pages.

Erin Hampton7a.Design a class namedCake. Data fields include two string fields for cake flavor and icingflavor and numeric fields for diameter in inches and price. Include methods to get and set valuesfor each of these fields. Create the class diagram and write the pseudocode that defines the class.
End of preview. Want to read all 2 pages?

Upload your study docs or become a

Course Hero member to access this document

Term
Spring
Professor
Andrew Gaa
Tags
Return statement, Void type, data fields, Erin Hampton, public void setCakeFlavor

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture