About Question enthuware.jwpv6.2.1043 :

Moderator: admin

Post Reply
admin
Site Admin
Posts: 10036
Joined: Fri Sep 10, 2010 9:26 pm
Contact:

Re: About Question enthuware.jwpv6.2.1043 :

Post by admin »

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 »

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

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

Re: About Question enthuware.jwpv6.2.1043 :

Post by admin »

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 »

"s cannot be resolved to a variable"

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

Re: About Question enthuware.jwpv6.2.1043 :

Post 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.
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 21 guests