File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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 Android Security Essentials Live Lessons this week in the Android 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)
 
Similar Threads
binary shift operations with negative RHS ?
SCWCD
Khalid Mughal or HFSJ?
Doubt in Numeric conversion(Khalid Mughal)
>>>