About Question enthuware.jwpv6.2.1043 :
Moderator: admin
-
- Site Admin
- Posts: 10036
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question enthuware.jwpv6.2.1043 :
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.
-
- Posts: 3
- Joined: Tue Jan 09, 2018 10:02 pm
- Contact:
Re: About Question enthuware.jwpv6.2.1043 :
well, like I said, it does not compile. Only after I changed it to int i = 0; int s = 0;
-
- Site Admin
- Posts: 10036
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question enthuware.jwpv6.2.1043 :
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.
-
- Posts: 3
- Joined: Tue Jan 09, 2018 10:02 pm
- Contact:
Re: About Question enthuware.jwpv6.2.1043 :
"s cannot be resolved to a variable"
-
- Site Admin
- Posts: 10036
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question enthuware.jwpv6.2.1043 :
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.
Who is online
Users browsing this forum: No registered users and 21 guests