NiceThingspublic class NiceThings extends Object
Fields Summary |
---|
private String | food | private int | luckyNumber | private String | colour |
Constructors Summary |
---|
public NiceThings(String food, int luckyNumber, String colour)
this.food = food;
this.luckyNumber = luckyNumber;
this.colour = colour;
|
Methods Summary |
---|
public java.lang.String | getColour()
return colour;
| public java.lang.String | getFood()
return food;
| public int | getLuckyNumber()
return luckyNumber;
| public void | setColour(java.lang.String colour)
this.colour = colour;
| public void | setFood(java.lang.String food)
this.food = food;
| public void | setLuckyNumber(int luckyNumber)
this.luckyNumber = luckyNumber;
|
|