aspose file tools*
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes Clarification needed Shift Operator (Khalid Mughal-Old book) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "Clarification needed Shift Operator (Khalid Mughal-Old book)" Watch "Clarification needed Shift Operator (Khalid Mughal-Old book)" New topic
Author

Clarification needed Shift Operator (Khalid Mughal-Old book)

thomas jacob
Ranch Hand

Joined: May 19, 2005
Posts: 91
1)The book states that the value of the left hand operand is not affected by applying the shift operator.
2)The number of bits shifted is always in the range modulus 32 for an int value and range modulus 64 for a long value.

I didn't understand what these two statements means Khalid mughal Old Book
Pg 68
Joe Sondow
Ranch Hand

Joined: Apr 10, 2005
Posts: 195


SCJA 1.0 (98%), SCJP 1.4 (98%)
thomas jacob
Ranch Hand

Joined: May 19, 2005
Posts: 91
Thanks Joe that clears my doubt
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Clarification needed Shift Operator (Khalid Mughal-Old book)