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

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

Bhanu
Views: 750 | Community Opinion: 1

Tags..  Java Interview  Operators in Java

Bookmark this page..



Ask a New Question Go to Home

Community Opinion/Answers
 
Sanjay Said..

The >> operator carries the sign bit when shifting right. The >>> zero-fills bits that have been shifted out.






What do you think? Add your opinion/answer
*Name
*your opinion/answer: