CoolInterview.com - World's Largest Collection of Interview Questions
Send Free SMS
 Interview Questions  
 Our Services  


INTERVIEW QUESTIONS J2EE JAVA DETAILS
Question :
What is the difference between the Boolean & operator and the && operator?
Category Java Interview Questions
Rating (0.0) By 0 users
Added on 10/23/2004
Views 833
Rate it!
Answers:

If an expression involving the Boolean & operator is evaluated, both operands areevaluated. Then the & operator is applied to the operand.

When an expression involving the && operator is evaluated, the first operand is evaluated. If the first operand returns avalue of true then the second operand is evaluated. The && operator is then applied to the first and second operands. If the first operand evaluates to false, the evaluation of the second operand is skipped.





If you have the better answer, then send it to us. We will display your answer after the approval.
Name :*
Email Id :*
Answer :*
Verification Code Code Image - Please contact webmaster if you have problems seeing this image code Not readable? Load New Code
Process Verification  Enter the above shown code:*
Inform me about updated answers to this question

   
Related Questions
View Answer
What is the GregorianCalendar class?
View Answer
Which Container method is used to cause a container to be laid out and redisplayed?
View Answer
What is the purpose of the Runtime class?
View Answer
How many times may an object's finalize() method be invoked by the garbage collector?
View Answer
What is the purpose of the finally clause of a try-catch-finally statement?
View Answer
What is the argument type of a program's main() method?
View Answer
Which Java operator is right associative?
View Answer
What is the Locale class?
View Answer
What is the difference between a break statement and a continue statement?
View Answer
What must a class do to implement an interface?
View Answer

Please Note: We keep on updating better answers to this site. Subscribe to our newsletter to get notified when better answer is posted.

Notify me when better answer is posted!
Email:

View ALL Java Interview Questions

User Options
Sponsored Links


Copyright ©2003-2010 CoolInterview.com, All Rights Reserved.
Privacy Policy | Terms and Conditions
Page URL: http://www.coolinterview.com/interview/1171/default.asp?cachecommand=bypass


Download Yahoo Messenger | Placement Papers| FREE SMS | ASP .Net Tutorial | Web Hosting | Free SMS | Dedicated Servers | Joke of the Day

1.03