File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

EL [] operator query.

 
Nikunj Kshatriya
Greenhorn
Posts: 7
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Given:
------------------------------------------------------

-------------------------------------------------------
Would the above code print "find me!" ?

According to HF S&J pg 428 mock answers it would !
Looking at the specs, I dont think it would not, because the quotes around idx wouldnt allow the request attribute to be evaluated.
 
Ulf Dittmer
Rancher
Pie
Posts: 42966
73
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This is quite easy to test, isn't it?
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic