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



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

Answer / shweta

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

Is This Answer Correct ?    3 Yes 3 No

Post New Answer

More Core Java Interview Questions

What do you understand by synchronization?

0 Answers  


What is the symbol for average?

0 Answers  


Can a class be a super class and a sub-class at the same time? Give example.

1 Answers  


Does it matter in what order catch statements for filenotfoundexception and ioexception are written?

0 Answers  


Is a class an object?

0 Answers  






What are the five major types of reference sources?

0 Answers  


What are the benefits of operations in java?

0 Answers  


Define canvas?

0 Answers  


What is math in java?

0 Answers  


Can a serialized object be transferred via network?

0 Answers  


Can an abstract class be a final class?

0 Answers  


What do you mean by platform independence? What is an interface?

0 Answers  


Categories