About Question enthuware.jwpv6.2.1043 :

Moderator: admin

admin
Site Admin
Posts: 7447
Joined: Fri Sep 10, 2010 9:26 pm
Contact:

Re: About Question enthuware.jwpv6.2.1043 :

Post by admin » Tue Jan 09, 2018 10:42 pm

Yes, it is already being declared in the given code: int i = 0, s = 0;
If you like our products and services, please help us by posting your review here.

mcmovsho
Posts: 3
Joined: Tue Jan 09, 2018 10:02 pm
Contact:

Re: About Question enthuware.jwpv6.2.1043 :

Post by mcmovsho » Thu Jan 11, 2018 9:21 am

well, like I said, it does not compile. Only after I changed it to int i = 0; int s = 0;

admin
Site Admin
Posts: 7447
Joined: Fri Sep 10, 2010 9:26 pm
Contact:

Re: About Question enthuware.jwpv6.2.1043 :

Post by admin » Thu Jan 11, 2018 9:58 am

Not sure why it would not compile for you. There is nothing wrong with that line. What error do you get?
If you like our products and services, please help us by posting your review here.

mcmovsho
Posts: 3
Joined: Tue Jan 09, 2018 10:02 pm
Contact:

Re: About Question enthuware.jwpv6.2.1043 :

Post by mcmovsho » Thu Jan 11, 2018 12:05 pm

"s cannot be resolved to a variable"

admin
Site Admin
Posts: 7447
Joined: Fri Sep 10, 2010 9:26 pm
Contact:

Re: About Question enthuware.jwpv6.2.1043 :

Post by admin » Thu Jan 11, 2018 10:30 pm

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.
If you like our products and services, please help us by posting your review here.

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests