aspose file tools*
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes Question on Bitwise Conditional Operator Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "Question on Bitwise Conditional Operator" Watch "Question on Bitwise Conditional Operator" New topic
Author

Question on Bitwise Conditional Operator

Sri Jad
Ranch Hand

Joined: Apr 25, 2005
Posts: 49


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

Joined: Feb 02, 2006
Posts: 2023

equal to


or


[ May 25, 2006: Message edited by: wise owen ]
Sri Jad
Ranch Hand

Joined: Apr 25, 2005
Posts: 49
Thanks wise owen
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Question on Bitwise Conditional Operator