File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Question on Bitwise Conditional Operator

 
Sri Jad
Ranch Hand
Posts: 49
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


What result we can expect from the above code...Iam getting

Pet status is... Pet count OK

But sizeOfYard > 8 is also true.. Why not Pet limit on the edge is getting printed??

Some one please answer me

Thanks

JD
[ May 25, 2006: Message edited by: Sri Jad ]
 
wise owen
Ranch Hand
Posts: 2023
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

equal to


or


[ May 25, 2006: Message edited by: wise owen ]
 
Sri Jad
Ranch Hand
Posts: 49
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks wise owen
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic