Page 1 of 1

Re: About Question enthuware.jwpv6.2.1043 :

Posted: Tue Jan 09, 2018 10:42 pm
by admin
Yes, it is already being declared in the given code: int i = 0, s = 0;

Re: About Question enthuware.jwpv6.2.1043 :

Posted: Thu Jan 11, 2018 9:21 am
by mcmovsho
well, like I said, it does not compile. Only after I changed it to int i = 0; int s = 0;

Re: About Question enthuware.jwpv6.2.1043 :

Posted: Thu Jan 11, 2018 9:58 am
by admin
Not sure why it would not compile for you. There is nothing wrong with that line. What error do you get?

Re: About Question enthuware.jwpv6.2.1043 :

Posted: Thu Jan 11, 2018 12:05 pm
by mcmovsho
"s cannot be resolved to a variable"

Re: About Question enthuware.jwpv6.2.1043 :

Posted: Thu Jan 11, 2018 10:30 pm
by admin
I tried it just now on Tomcat 8.0.27 . It is working fine. The servlet container that you are using might have a bug.