Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

page no 218 from KathySierra bookabout attributes

 
sukhavasi vasavi
Ranch Hand
Posts: 59
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

The output is:
A:a ->b P:a->b M:a->c
How it comes?Totally i was confused.
For the req.removeAttribute("a"),this attribute should be removed but How it comes?
Please explain how this answer comes.


[BSouther: Added UBB CODE tags]
[ November 14, 2007: Message edited by: Ben Souther ]
 
Bosun Bello
Ranch Hand
Posts: 1511
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
attributeRemoved and attributeReplaced are actually showng the attribute that was removed and replaced respectively. Hope that helps.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic