All times are UTC - 5 hours




Post new topic Reply to topic  [ 15 posts ]  Go to page Previous  1, 2
Author Message
 Post subject: Re: About Question enthuware.jwpv6.2.1043 :
PostPosted: Tue Jan 09, 2018 10:42 pm 
Offline
Site Admin

Joined: Fri Sep 10, 2010 9:26 pm
Posts: 6920
Yes, it is already being declared in the given code: int i = 0, s = 0;


Top
 Profile Send private message  
 
 Post subject: Re: About Question enthuware.jwpv6.2.1043 :
PostPosted: Thu Jan 11, 2018 9:21 am 
Offline

Joined: Tue Jan 09, 2018 10:02 pm
Posts: 3
well, like I said, it does not compile. Only after I changed it to int i = 0; int s = 0;


Top
 Profile Send private message  
 
 Post subject: Re: About Question enthuware.jwpv6.2.1043 :
PostPosted: Thu Jan 11, 2018 9:58 am 
Offline
Site Admin

Joined: Fri Sep 10, 2010 9:26 pm
Posts: 6920
Not sure why it would not compile for you. There is nothing wrong with that line. What error do you get?


Top
 Profile Send private message  
 
 Post subject: Re: About Question enthuware.jwpv6.2.1043 :
PostPosted: Thu Jan 11, 2018 12:05 pm 
Offline

Joined: Tue Jan 09, 2018 10:02 pm
Posts: 3
"s cannot be resolved to a variable"


Top
 Profile Send private message  
 
 Post subject: Re: About Question enthuware.jwpv6.2.1043 :
PostPosted: Thu Jan 11, 2018 10:30 pm 
Offline
Site Admin

Joined: Fri Sep 10, 2010 9:26 pm
Posts: 6920
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.


Top
 Profile Send private message  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 15 posts ]  Go to page Previous  1, 2

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Template made by DEVPPL/ThatBigForum