Win a copy of Learn Spring Security (video course) this week in the Spring 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: 9509
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...
 
Don't get me started about those stupid light bulbs.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic