top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

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

+1 vote
399 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
...