Switch to full style
Java2 codes,problems ,discussions and solutions are here
Post a reply

shift operator in java

Sun Aug 12, 2012 2:13 am

whats different between >> and >>> operator in java



Re: shift operator in java

Sun Aug 12, 2012 3:41 pm

For shift >> :
shifts the right operand to the right side by the number of bits specified by its right operand

For >>> :
Is a zero filling operator :filling the MSBs zeros and thereby losing the sign bits!

Re: shift operator in java

Tue Sep 04, 2012 3:42 pm

I'm going to add in this

<< ---> Left Shift Operator and
THERE IS NO OPERATOR like "<<<" in Java :lol:

Post a reply
  Related Posts  to : shift operator in java
 Perform Multiplication by Shift Left Operations     -  
 Using the ? Operator     -  
 What is the % operator     -  
 operator int()     -  
 operator overloading     -  
 trinary operator     -  
 Sizeof Operator     -  
 Object without new Operator     -  
 stream operator     -  
 What is Operator Overloading? !!!     -