Operators in Java: Part 5 | Ternary operator and negation operator in Java | #IMPforJAVAInterviews

preview_player
Показать описание
In this session we will learn about Ternary operator and negation operator in Java.

I have explained few very imp practical examples where most of the people gives wrong answers in the interview.

Bitwise

(Condition 1) operator (Condition 2)

AND== true true==true
false true== false
true false== false
false false== false

OR== true true== true
false true== true
true false== true
false false== false

Bitwise &== This checks for both the conditions before giving true/ false result.
Bitwise |== This checks for both the conditions before giving true/ false result.

8. Logical

Logical &&== This first checks if first condition is true/false.
Check second condition only if first condition result is true.


Logical ||== This first checks if first condition is true/false.
This will check second condition only if first condition result is false.

======================================
****************AJ AUTOMATION**************
======================================

🔔 Learn automation from basic !! 🔔

✅ Recent Uploads :=

✅ Selenium series videos Playlist :=

✅ Maven Tool videos playlist :=

✅ Java Language Concepts :=

✅TestNG Framework Videos:=

✅ Become Master in Xpath:=

✅ Protractor series videos playlist :=

======================================
**************** Thanks for watching !!**************
======================================

⚡️ Keep Learning...Keep Sharing...Keep Growing. ⚡️

#JavaProgramming #JavaForSelenium #JavaSessions
Рекомендации по теме
welcome to shbcf.ru