Page 1 of 1

About Question com.enthuware.ets.scwcd.v5.2.556 :

Posted: Tue Mar 10, 2015 11:19 am
by rlrao1987
As far as I understand, <=cities.get(i)%> will be rendered as out.println(cities.get(i));
so how is the fourth option correct answer?

Re: About Question com.enthuware.ets.scwcd.v5.2.556 :

Posted: Tue Mar 10, 2015 10:14 pm
by admin
Why do you think <=cities.get(i)%> will be rendered as out.println(cities.get(i));?

<=cities.get(i)%> is converted into out.println(cities.get(i));, which will be executed on the server and therefore only the value of the expression cities.get(i) will be rendered in the output to browser.