Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

operators order

 
Kalyani Marathe
Ranch Hand
Posts: 72
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 4982
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Kalyani Marathe
Ranch Hand
Posts: 72
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks. I wasn't able to find it so I posted it.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic