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 a boolean in java?

0 Answers  


What is the purpose of static methods and static variables?

0 Answers  


what is meta-Inf?

2 Answers   Polaris,


class A{ class B{ } } in which name u save the file,its the program compile?

6 Answers   HCL,


What do you understand by private, protected and public?

0 Answers  






What is byte code and why is it important to java’s use for internet programming?

0 Answers  


What is the difference between static and non-static variables?

6 Answers  


What do you understand by the term polymorphism?

0 Answers  


How do you remove an object from an arraylist in java?

0 Answers  


Why do we need variables?

0 Answers  


Where can I find jdk in my computer?

0 Answers  


What are the advantages of functions?

0 Answers  


Categories