What is the difference between && and & in Java ?
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

   



Interview Questions and Answers

 Q1. What is the difference between && and & in Java ?Core Java
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 instanceOf operator ? Explain it's use ?
 What is the difference between the following two code lines ?

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

2. new OuterClass.InnerClass();
  According to Java Operator precedence, which operator is considered to be with highest precedence?
  Difference between new operator and Class.forName().newInstance() ?
 Does java supports operator overloading ?
  Difference between Class#getInstance() and new operator ?
  What is the difference between >> and >>>?
  Which Java operator is right associative?



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: