File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes K&B  Operator precedence Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "K&B  Operator precedence" Watch "K&B  Operator precedence" New topic

K&B Operator precedence

Vipin Das
Ranch Hand

Joined: Jul 05, 2004
Posts: 47
Is scjp1.4 doesnt check our knowledge on operator precedence? i havent any such qns or topic in k&b? Please clarify my doubt?
Adam Villena

Joined: Jul 05, 2004
Posts: 12
Upon taking the SCJP exam I had around 2-3 questions regarding operator precedence
Vipin Das
Ranch Hand

Joined: Jul 05, 2004
Posts: 47
Ok. Then why there is no topic about operator precedence in K&B, or is it there in some chapter?
Dan Chisholm
Ranch Hand

Joined: Jul 02, 2002
Posts: 1865
There is no need to learn how to evaluate complex expressions that require memorization of the entire operator precedence chart. The exam has been developed under the assumption that programmers typically use parentheses to control the order of evaluation. The exam does emphasize the fact that the cast operator has higher precedence than the additive and multiplicative operators. For that reason, it's a good idea to memorize the top four levels of the precedence chart.

It is also a good idea to memorize the five levels of the bitwise and logical operators and the conditional operators.

Dan Chisholm<br />SCJP 1.4<br /> <br /><a href="" target="_blank" rel="nofollow">Try my mock exam.</a>
Satya Lekkala

Joined: Jul 02, 2004
Posts: 9
to get a good understanding on operator precedence , use this link .

$atya<br />SCJP 1.4
I agree. Here's the link:
subject: K&B Operator precedence
It's not a secret anymore!