Operators Demo Notes
Operators Demo Notes
"OPERATORS"
types:--
1.Basic arthmetic operators
2.Assignment operators
3.increment or decrement operators
4.Logical operators
5.Relational operators(comparision operators)
6.Bitwise operators
7.ternary operators.. --> if statement
ARTHMETIC:-
+ , - , * , / , %
-----------------------------------------------------------------------------------
------------
Assignment operators:--
it is used in java to assign values
= , += , -=, *= , /=, %=
Logical OR (||):-
if anyone conditions is true , it will result true
if all condition is false it results false
Logial NOT(!):-
if the two conditions is false it results true., remains false
-----------------------------------------------------------------------------------
---------
RELATIONAL OPERATORS
to check the relations between two operands
BITWISE OPERATORS:--
(Binary Numbers 0, 1) (Decimal 0 to 9)
-----------------------------------------------------------------------------------
---------------------