File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Programmer Certification (SCJP/OCPJP)
Operator precedence &&,||,&,|
Joined: Aug 06, 2002
Apr 07, 2003 13:39:00
What is the order of precedence for these logical and bitwise operators?
Joined: Apr 03, 2003
Apr 07, 2003 13:45:00
The order is as follows (highest precedence to lowest) :
I agree. Here's the link:
subject: Operator precedence &&,||,&,|
code behaving strangely
Multiple Assignments from Khalid's book
From deepak's mock
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015