Hey i am a beginner in programming. My code looks like this:
public ChatClient1(String screenName, String hostName) {
super("Chat");
String host=(args.length<1)?null:args[0];
...and it continues.
The error I am getting when i compile is:
cannot find symbol
symbol: variable args
and its for both the args in the code above.
this.screenName=screenName;