Tuesday, March 10, 2009

What is the difference between the >> and >>> operators (CoreJava)

Question :What is the difference between the >> and >>> operators? (CoreJava)
Answer :The>> operater carries the sign bit when shifting right.The >>> zerofills
bits that have been shifted out.

No comments: