Forums Register Login

chapter:8,self test-15

+Pie Number of slices to send: Send
from chapter:8, self test example:15


assume "mybean" is an attribute & is of type MyBean

options are:

A ${mybean.name}

B ${mybean["name"]}

C ${mybean.objects.a}

D ${mybean["params"].a}

E ${mybean.params["a"]}

F ${mybean["objects"].a}

why the answers are c & f? What is "a" here.
They have describe: ""a" is not a List property and since "objects" is not a Map ,a lookup won't be performed.

-why we can't use "objects" in [] operator,it is List & in [] you can use List. They have given a specification page:1-64, I read that but still I am not getting it anyways.

Can anyone please help me?
+Pie Number of slices to send: Send
Please check this other thread
She said she got a brazillian. I think owning people is wrong. That is how I learned ... tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 723 times.
Similar Threads
Doubt in EL
EL Question from HFSJ
HFS question 15 page # 423
right to the dot operator should be a bean property?
EL mock exam question - what's YOUR answer?
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 09:16:35.