Relational Operators in java

Prikshit gautamPrikshit gautam
1 min read

Hello Everybuddy

Hello everyone,

Take this capture as a positive vibe in your coding journey so This is Prikshit Gautam sharing some useful information on relational operators,that are

1) == means if equals to 5) >= greater than and equal to

2) != means not equal to 6) <= less than and equals to Etc......

3) > greater than

4) < less than

these are some operators we also used in Mathematics which helps us in checking conditions in certain cases .These are mostly used in if-else statements to add conditions in different cases.

for example

this is a perfect and simple example of relational operators.

THANKS

0
Subscribe to my newsletter

Read articles from Prikshit gautam directly inside your inbox. Subscribe to the newsletter, and don't miss out.

Written by

Prikshit gautam
Prikshit gautam

student at Thapar Institute of Engg& Tech(CSE)