| Constructor and Description |
|---|
DefaultFood()
Creates an instance of defaultFood.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
int |
hashCode() |
Snack |
snack()
Returns the attribute snack.
|
void |
snack(Snack snack)
Sets the attribute snack.
|
String |
toString() |
Copyright © 2017. All rights reserved.