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: 10078
- 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.
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 8 guests