aspose file tools*
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes operators order 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 "operators order" Watch "operators order" New topic
Author

operators order

Kalyani Marathe
Ranch Hand

Joined: Apr 06, 2005
Posts: 72
Hi,

I would like to know what operator precedence should be observed while solving problem. I know basic (),+, -, *, /. I would like to know when all others are combined like shortcircuit, logical and all.

Thanks in advance.
Nicholas Cheung
Ranch Hand

Joined: Nov 07, 2003
Posts: 4982
This question has been asked many times, why dont you do a search before asking?

http://www.coderanch.com/t/247559/java-programmer-SCJP/certification/solve-expression

Nick


SCJP 1.2, OCP 9i DBA, SCWCD 1.3, SCJP 1.4 (SAI), SCJD 1.4, SCWCD 1.4 (Beta), ICED (IBM 287, IBM 484, IBM 486), SCMAD 1.0 (Beta), SCBCD 1.3, ICSD (IBM 288), ICDBA (IBM 700, IBM 701), SCDJWS, ICSD (IBM 348), OCP 10g DBA (Beta), SCJP 5.0 (Beta), SCJA 1.0 (Beta), MCP(70-270), SCBCD 5.0 (Beta), SCJP 6.0, SCEA for JEE5 (in progress)
Kalyani Marathe
Ranch Hand

Joined: Apr 06, 2005
Posts: 72
Thanks. I wasn't able to find it so I posted it.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: operators order