Wednesday, January 14, 2009

Lemonade Stand!

What classes will you need for a Java program representing a Lemonade Stand?

What attributes will each class need?

What methods will each class need?

Please write it on your blog as follows:

Class A
Attributes

Methods

Class B
Attributes

Methods

So on...

1 comment:

PowerLifterAdam said...

Lemonade Stand- Class Brainstorming
by Adam Witlin, Jonathan Broche, and Emmanuel Franco

Lemonade Stand

Class A - Lemonade Class //keeps track of all the lemonade

Attributes

NumberofLemons

Methods

getnumberoflemons

setnumberoflemons

Class B - Money Class //keeps track of all the money

Attributes

TotalamountofCash

Methods

getamountofcash

setamountofcash