Win a copy of Mastering Corda: Blockchain for Java Developers this week in the Cloud/Virtualization forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Bear Bibeault
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Jj Roberts
  • Carey Brown
Bartenders:
  • salvin francis
  • Frits Walraven
  • Piet Souris

"unchecked" element

 
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
According to the example shown on page 581 of the HF book, <unchecked> tag should be empty. But, then on page 596 for question #2 which says:
What's true about methods that should run without being checked for authorization?
why is option B (They can be listed in the <unchecked> element) correct.
As per the example nothing should be listed in <unchecked> element.
 
Ranch Hand
Posts: 1258
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ha, I remember that part of the book. It's wrong. Just pat yourself on the back and move on.
 
Cowgirl and Author
Posts: 1589
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yep -- Nathaniel's right--this is bad wording on our part. Instead of saying "...in the <unchecked/> element" it should have said something like, "...with the <unchecked/> element" or "...using the <unchecked/> element." So, it wasn't meant to be a trick question about whether you knew that <unchecked/> is technically an empty tag. It was just supposed to test whether you knew about <unchecked/> and its relationship to method permissions.
Nathaniel, just wanted to say that you're awesome.
cheers,
Kathy
 
Sany Bel
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Nathaniel and Kathy
 
yeah, but ... what would PIE do? Especially concerning this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic