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

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "operator precedence table " Watch "operator precedence table " New topic

operator precedence table

Raju Champaklal
Ranch Hand

Joined: Dec 10, 2009
Posts: 521
do we have to memorize the table except knowing the (* /% )comes before (+-)

and everything right to = is evaluated first

scjp 1.6 91%, preparing for scmad
"Time to get MAD now.. we will get even later"....by someone unknown
Ankit Garg

Joined: Aug 03, 2008
Posts: 9291

You don't have to memorize the precedence table. The questions in SCJP don't try to confuse you too much about operator precedence. Just basic understanding of operator precedence is enough (as much as is covered in K&B). SCJP 1.4 used to have confusing questions about operator precedence but Sun changed that after SCJP 5...

SCJP 6 | SCWCD 5 | Javaranch SCJP FAQ | SCWCD Links
wood burning stoves
subject: operator precedence table
Similar Threads
How to pass Arraylist values from an actionClass to a JSP page
How to insert form-data(.jsp) into MySql through Servlets
WA #1.....word association
what is K&B book-SCJP exam
Clean database