WHAT IS THE DIFFERENCE BETWEEN THE >> AND >>> OPERATORS?

James Smith

Total Post:79

Points:395
Posted by  James Smith
Java 
 1787  View(s)
Ratings:
Rate this:
  1. James Smith

    Post:79

    Points:395
    What is the difference between the >> and >>> operators?

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

Answer

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!