setting a byte

newLightBulb.setWattage(25);

void setWattage(byte w){

wattage=w;

}

Every time i try to do that it tells me that 25 is an int and setWattage() is in byte form. How would i go about forcing 25 to be a byte?

[354 byte] By [monkeysenseia] at [2007-10-2 0:55:22]
# 1
newLigtBulb.setWattage((byte) 25);
warnerjaa at 2007-7-15 18:15:18 > top of Java-index,Java Essentials,Java Programming...
# 2
new LightBulb.setWattage((byte)25);
mvantuyla at 2007-7-15 18:15:18 > top of Java-index,Java Essentials,Java Programming...
# 3
erm... thank you :)
monkeysenseia at 2007-7-15 18:15:18 > top of Java-index,Java Essentials,Java Programming...