jQuery in Action, 2nd edition*
The moose likes Java in General and the fly likes ShiftWise operator Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "ShiftWise operator" Watch "ShiftWise operator" New topic
Author

ShiftWise operator

Vidya Lakshman
Greenhorn

Joined: Apr 09, 2008
Posts: 11



what is the output of the above code & explain the working?
Any help is highly appreciated.


Regards
Vidya
Ankit Dan
Ranch Hand

Joined: Aug 31, 2012
Posts: 47



this will help you analyse..
Matthew Brown
Bartender

Joined: Apr 06, 2010
Posts: 4374
    
    8

Vidya Lakshman wrote:what is the output of the above code & explain the working?

The best way for you to find out the output would be to run it yourself.

So run it, and try and work out why the output is what it is. Then come back to us if you can't work it out, and we can help you.
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 38487
    
  23
Why, on the other thread, did you think the 4th line gives a negative output?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: ShiftWise operator