Core Java - Interview Questions and Answers for 'Bitwise operators' | Search Java Interview Question - javasearch.buggybread.com
Javasearch.buggybread.com

Search Interview Questions


 More than 3000 questions in repository.
 There are more than 900 unanswered questions.
Click here and help us by providing the answer.
 Have a video suggestion.
Click Correct / Improve and please let us know.
Label / Company      Label / Company / Text

   



Core Java - Interview Questions and Answers for 'Bitwise operators' - 2 question(s) found - Order By Newest

 Q1. What is the difference between >> and >>>?
Admin
info@buggybread.com
Ans. Both bitwise right shift operator ( >> ) and bitwise zero fill right shift operator ( >>> ) are used to shift the bits towards right. The difference is that >> will protect the sign bit whereas the >>> operator will not protect the sign bit. It always fills 0 in the sign bit.

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     java   operators   bitwise operators   binary shift   right shift


Related Questions



 Q2. What is the difference between && and & in Java ?Core Java2017-02-03 08:30:47

Ans. && is a Logical whereas & is a bitwise operator

 Help us improve. Please let us know the company, where you were asked this question :   

   Like         Discuss         Correct / Improve     operators  logical vs bitwise operator


Related Questions

  Difference between == and .equals() ?
  What are different ways of object creation in Java ?
 What is the difference between the following two code lines ?

1. new OuterClass().new InnerClass();

2. new OuterClass.InnerClass();
 What is instanceOf operator ? Explain it's use ?
  According to Java Operator precedence, which operator is considered to be with highest precedence?
  Difference between new operator and Class.forName().newInstance() ?
  Difference between Class#getInstance() and new operator ?
  What is the difference between >> and >>>?
  Which Java operator is right associative?
  In which cases isn't instanceof operator a bad practice?



Help us and Others Improve. Please let us know the questions asked in any of your previous interview.

Any input from you will be highly appreciated and It will unlock the application for 10 more requests.

Company Name:
Questions Asked: