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 is difference between identifier and variable?

0 Answers  


what is the meaning of java.lang and java.util

6 Answers  


Explain java code for recursive solution's base case?

0 Answers  


Can we clone singleton object in java?

0 Answers  


What all access modifiers are allowed for top class ?

0 Answers  






What are the different types of garbage collectors in java?

0 Answers  


What is a line separator in java?

0 Answers  


If an application has multiple classes in it, is it okay to have a main method in more than one class?

0 Answers  


How to obtain a performance profile of java program

0 Answers  


How could Java classes direct program messages to the system console, but error messages, say to a file?

2 Answers  


what is difference between servletconfig and servletcontext?

3 Answers   Amdocs,


What is string literal in java?

0 Answers  


Categories