Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

SIMPLE DOUBT FROM MOCK EXAM

 
Sangeetha Selvaraj
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
From which interface(s) do you need to implement the methods if you want to create an iterative tag without body content? [Check all correct answers]
1. Tag
2. LoopTag
3. IterationTag
4. TagSupport
5. BodyTag

the site says the answer is 1,3.

the tag interface doesnt have the doAfterBody() , i think 3&4 is right but he has asked only for interfaces. whats the right solution.

Thanks
Sangeetha
 
Raju Sri
Ranch Hand
Posts: 108
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HI Sangeetha,

I can say that only 3 is the correct answer as the question asked about interface.

Cheers
 
Sangeetha Selvaraj
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks, I thought the same too
 
Tiago Flach
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
But...

Do you agree that IterationTag extends Tag and, therefore, you'll also have to implement Tag methods?

So, IMHO, I think answers 1 and 3 are right.
[ August 13, 2004: Message edited by: Tiago Flach ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic