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

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

hi,

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

Thanks,

View Answers

April 18, 2013 at 4:07 PM

Hi friend,

'>>' operator is known as signed right shift operator and it shifts the left operand bit to right with the sign extension.

'>>>' operator is known as unsigned right shift operator always shifts zeros into the leftmost position by the distance specified in the right operand.

For more detail please go through the following links may, these links will be helpful for you.

http://www.roseindia.net/java/master-java/bitwise-bitshift-operators.shtml

http://www.roseindia.net/java/master-java/java-unsigned-right-shift.shtml

http://www.roseindia.net/java/master-java/java-right-shift.shtml

http://www.roseindia.net/java/jdk7/BitwiseOperator.shtml









Related Tutorials/Questions & Answers:
What is the difference between the >> and >>> operators?
what is the difference between extends and implements
Advertisements
what is the difference between extends and implements
What is the difference between hibernate and spring
What is the difference between PHP4 and PHP5?
What is difference between a PROCEDURE & FUNCTION ?
What is the difference between $message and $$message?
what is the Difference between weblogic and jboss?
what is the difference between pop and oop
What is difference between the java and javascript?
What is the difference between a constructor and a method?
What is the difference between a JDK and a JVM?
What is difference between Path and Classpath?
What is difference between TRUNCATE & DELETE
What is the difference between JPA and Hibernate?
What is difference between the java and javascript?
what is the difference between distributed application and web application?
What is the difference between JSF, Servlet and JSP?
What is the difference between ereg_replace() and eregi_replace()?
What is the difference between the functions unlink and unset?
What are the difference between abstract class and interface?
What’s the difference between include and require?
what is difference between objectan primitive? - Java Beginners
what is the difference between productList==null and productList.size()==0
What’s the difference between load() and get()?
What are difference between Bean Factory and Application Context ?
What is difference between singleton and prototype bean?
What is the difference between the Boolean & operator and the && operator?
what is the difference between the eclipse and myeclipse - IDE Questions
What is the difference between component and tag in JSF?
What is the difference between IN and BETWEEN, that are used inside a WHERE clause?
What is the difference between UNION and UNION ALL in SQL?
What is difference between UNIX Hosting and Window Hosting?
What is the difference between GET and POST method?
What is the difference between a HAVING CLAUSE and a WHERE CLAUSE?
What is the difference between a data analyst and a data scientist?
What is difference between data analyst and data scientist?
what is the difference between frontcontroller and actionservlet? - Struts
What is the difference between an if statement and a switch statement?
What is the difference between Big Data and Hadoop?
What is the difference between Big Data and Hadoop?
What is the difference between a break statement and a continue statement?
What is the difference between static and dynamic SQL?
What is the difference between EJB 3.0 and JPA - Framework
What is difference between Core Java and Advanced Java?
What is difference between Core Java and Advanced Java?
What is difference between JDK,JRE and JVM?
what is the difference between jdk 1.4 and 1.5 and 1.6
What is the difference between mysql_fetch_object and mysql_fetch_array?
In Java, what's the difference between public, default, protected, and private?

Ads