top button
Flag Notify
    Connect to us
      Facebook Login
      Site Registration

Facebook Login
Site Registration

What is the difference between the >> and >>> operators in java?

+1 vote
49 views
What is the difference between the >> and >>> operators in java?
posted Mar 15, 2016 by Deepak Jangid

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

0 votes

First one >> is normal right shift operator while the second one >>> means "zero fill right shift" . It means the number of places it shifts that number of places will be filled with zero.

answer Mar 15, 2016 by Harshita
Contact Us
+91 9880187415
sales@queryhome.net
support@queryhome.net
#280, 3rd floor, 5th Main
6th Sector, HSR Layout
Bangalore-560102
Karnataka INDIA.
QUERY HOME
...