24 - Operators Precedence & Parentheses in Java (Hindi/Urdu)

Опубликовано: 05 Июль 2026
на канале: Uncovering Technologies
3,629
99

LIKE, SHARE & SUBSCRIBE

In this video, we are going to discuss "Operators Precedence & Parentheses in Java".

Precedence means a priority. Here priority matters when we are going to use many operators in a single Java statement.

For example :

a + b / c ;

In the above statement, 3 operands " a, b, c" are getting manipulated by using Addition Operator (+), Division Operator (/). Here 2 operators are executing simultaneously, but how can we say that which one of the given operators is going to execute.

Here the precedence of the given operators comes in handy. If we know which operator is going to execute first then we can calculate the output of the statement.

That's why we must know the precedences or priorities of all the Java operators.

In this video, I have made up a chart of all the Java operators precedence. Please study that chart and by using that chart, try to make some small programs. Then only you can understand the true concept of operator precedence.

Parentheses ( ) is used raise the precedence of Java operators.
If we place operators inside the parentheses pair then the priority of that operator is raised.

Another use of parentheses is that by using it your code looks more formal and your code's readability gets better.


Java Operators Introduction:
   • 15 - Operators in Java (Hindi/Urdu)  

Arithmetic & Assignment Operators (*, /, %, +, -, *=, /=, %=, +=, -= )
   • 16 - Arithmetic ( ✖️, ➗, ➕, ➖) & Assignmen...  

Increment & Decrement Operators (++) (- -)
   • 17 - Increment (➕➕) & Decrement (➖➖) Opera...  

Bitwise Operators (Part 1) (&, |, ^, ~, !, &=, |=, ^=)
   • 18 - Bitwise Operators in Java (Part 1) (H...  

Bitwise Operators (Part 2)
   • 19 - Bitwise Operators in Java (Part 2) (H...  

Relational Operators
   • 20 - Relational Operators in Java (Hindi/U...  

Boolean Logical Operators (&, |, ^, ~, !, &=, |=, ^=, ~=, !=, ==)
   • 21 - Boolean Logical Operators in Java (Hi...  

Short Circuit Logical Operators (&&) (||)
   • 22 - Short Circuit Logical Operators (&&) ...  

Ternary Operator (?:)
   • 23 - Ternary Operator (?:) in Java (Hindi/...  


Thanks for watching & stay tuned.

Like us on Facebook - https://goo.gl/y7oxYc
Follow us on Twitter - https://goo.gl/UKmTfn