• Post Reply Bookmark Topic Watch Topic
  • New Topic

Mock Exam Question Confusion  RSS feed

 
Tridib Samanta
Ranch Hand
Posts: 128
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can anybody tell me whether the following statement is true or false?

To accept an attribute a tag file must include the attribute directive .


According to me the statement is false, because even if you don't declare the attribute directive, you can use dynamic attribute to access attributes.
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
True and false. The specification distinguishes between attributes and dynamic attributes. So when the mock says "To accept an attribute", it does not take dynamic attributes into consideration. I think you're thinking too much on that one
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!