Java PPT New
Java PPT New
Programming
S E M . IV-BC A
Operators
Java operators are special symbols .
Operators perform operations on variables or values .
These operators play a crucial role in performing
arithmetic, logical,
relational, and bitwise operations etc.
Java provides a rich set of operators to manipulate
variables .
Types of Operators –
1. Arithmetic Operators .
2. Relational Operators .
3. Bitwise Operators .
4. Logical Operators .
5. Assignment Operators .
6. Conditional Operators .
7. Unary Operators .
Arithmetic Operator – Program :
Import java.util.* ;
Class Arithmetic
o Arithmetic operators are
used in mathematical {
{
o The list of arithmetic
operators as follows : int num1,num2,sum;
}
.
Add a Slide
Title - 5