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

Which class is the immediate superclass of the Container class?

1 Answers  


Is sizeof a keyword in java programming?

0 Answers  


What is the minimum and maximum length of an identifier?

6 Answers   TCS,


wat is final...? wat is finally...? wat is finalize....? difference between " final and finally and finalize "...?

2 Answers  


Why are lists ordered in java?

0 Answers  






what is the purpose of the wait(), notify(), and notifyall() methods? : Java thread

0 Answers  


What are the files generated after using IDL to java compiler?

0 Answers  


What is the difference between overriding & overloading?

0 Answers  


What are the two main uses of volatile in Java?

0 Answers  


How can we make sure main() is the last thread to finish in java program?

0 Answers  


java is puerly object oriented or not ?

5 Answers  


When to use runnable interface vs thread class in java?

0 Answers  


Categories