This week's book giveaway is in the Design forum.
We're giving away four copies of Design for the Mind and have Victor S. Yocco on-line!
See this thread for details.
Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

operator precedence table

 
Raju Champaklal
Ranch Hand
Posts: 521
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
do we have to memorize the table except knowing the (* /% )comes before (+-)

and everything right to = is evaluated first
 
Ankit Garg
Sheriff
Posts: 9519
22
Android Google Web Toolkit Hibernate IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You don't have to memorize the precedence table. The questions in SCJP don't try to confuse you too much about operator precedence. Just basic understanding of operator precedence is enough (as much as is covered in K&B). SCJP 1.4 used to have confusing questions about operator precedence but Sun changed that after SCJP 5...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic