This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
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

Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
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
Consider Paul's rocket mass heater.
subject: K&B Operator precedence