aspose file tools*
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 Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "K&B  Operator precedence" Watch "K&B  Operator precedence" New topic
Author

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
Greenhorn

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="http://www.danchisholm.net/" target="_blank" rel="nofollow">Try my mock exam.</a>
Satya Lekkala
Greenhorn

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: http://aspose.com/file-tools
 
subject: K&B Operator precedence