• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

HFSJ ch 8 mock qn. 12 and 15

 
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Qn 12 :: I think option A should be checked too, since in the Bullet points at the end of ch. it says, either mechanism( include directive or <jsp:include> ) can include dynamic elements.


Qn 15 :: not getting the explanation at all..why C and F will cause errors..?? what abt D and E??

anybody please explain..
Thanks,
Chani.
[ April 24, 2006: Message edited by: chani ]
 
pie sneak
Posts: 4727
Mac VI Editor Ruby
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by chani:
Qn 12 :: I think option A should be checked too, since in the Bullet points at the end of ch. it says, either mechanism( include directive or <jsp:include> ) can include dynamic elements.


The bullet says you can build a page with reusable components with either one. It does not say both are dynamic. The three bullets that follow explain the concepts of static vs dynamic includes but unfortunately does not use the terms static or dynamic there.

include directive = static (2nd and 3rd bullet on pg 415)
jsp:include = dynamic (4th bullet on pg 415)



Qn 15 :: not getting the explanation at all..why C and F will cause errors..?? what abt D and E??


The defective part of C and F is the .a - a List isn't allowed to look stuff up this way. A Map, however, is allowed to do this and so D and E are valid.

Hope this helps.

"chani", please help me with one thing by taking a few moments to read the Javaranch naming policy. Basically your display name needs to be 2 words in addition to being believable - you are already halfway there!

After reading the policy, you can change your displayed name here. Welcome to the Ranch.
 
chani singh
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Marc..
I've edited the profile.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic