Operator Precedence In Java

This video explains the importance of Operator and its precedence. Also, we will see the three rules on which an expression is evaluated.

Most of the programming languages define the order in which operators are executed. We call this order as Operator Precedence. In this video, I will explain what Operator Precedence is and what is the importance of it. Also, we will see how one can avoid multiple statements with the strength of a single complex expression.

 
You will see how an expression is evaluated on three rules.
  1. Parenthesis
  2. High to Low Precedence
  3. Left to Right on Equal Precedence.