wood burning stoves 2.0*
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes precedence Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "precedence" Watch "precedence" New topic
Author

precedence

pree sree
Ranch Hand

Joined: Jul 27, 2002
Posts: 34
please suggest where i can find the precedence of operators.i am confused when >>,... *,\,... ++,.. etc all come together.i searched jls but could not find the right section, could find them seperatly ,but not the case when all were mixed.
Valentin Crettaz
Gold Digger
Sheriff

Joined: Aug 26, 2001
Posts: 7610
On Roedy Green's Java cheat sheet (at the bottom), the operator precedence table is listed.
Also take a look at the following discussion:
http://www.coderanch.com/t/239100/java-programmer-SCJP/certification/operator-precedence
[ September 11, 2002: Message edited by: Valentin Crettaz ]

SCJP 5, SCJD, SCBCD, SCWCD, SCDJWS, IBM XML
[Blog] [Blogroll] [My Reviews] My Linked In
pree sree
Ranch Hand

Joined: Jul 27, 2002
Posts: 34
thanks
 
wood burning stoves
 
subject: precedence
 
Similar Threads
If and parentheses
precedence: new, cast, dot,
need help in overloading...
Unexpected output
AND / OR Statements