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?
About Question com.enthuware.ets.scwcd.v5.2.556 :
Moderator: admin
-
- Posts: 5
- Joined: Mon Jan 27, 2014 7:59 am
- Contact:
-
- Site Admin
- Posts: 10384
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question com.enthuware.ets.scwcd.v5.2.556 :
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.
<=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.
Who is online
Users browsing this forum: No registered users and 7 guests