Hello,
Please help me to correct my error say "ERROR CANNOT FIND SYMBOL".
i'm new to java..
this is my code
public class TestTV { public static void main(String[] args) { TV tv1 = new TV(); tv1.onTV(); tv1.setChannel(5); tv1.ChannelUp(); System.out.printIn ("I'm now on channel:" + tv1.getChannel() ); tv1.ChannelDown(); tv1.ChannelDown(); System.out.printIn ("I'm now on channel:" + tv1.getChannel() ); tv1.VolumeUp(); tv1.VolumelUp(); System.out.printIn ("My volume is now at:" + tv1.getVolume() ); tv1.VolumeDown(); System.out.printIn ("My volume is now at:" + tv1.getVolume() ); tv1.offTV(); } }
the error is in the TV tv1 = new TV();
this is the screenshot.
error.jpg!
i need an answer ASAP..
thank you for your help