OOP Programming
Operators in Java
▪ In Java, operators are special symbols or keywords used to perform operations on
variables and values.
▪ They can be categorized into several types based on their functionality.
▪ Arithmetic operators
▪ Assignment operators
▪ Comparison operators
▪ Logical operators
▪ Bitwise operators
Operators in Java
Arithmetic Operator
▪ Arithmetic operators are used to perform common mathematical operations.
Assignment Operator
▪ Assignment operators are used to assign values to variables.
Relational / Comparison Operator
▪ Comparison operators are used to compare two values (or variables).
▪ The return value of a comparison is either true or false.
Logical Operator
▪ Logical operators are used to determine the logic between variables or values.
▪ The return value of a logical operator is either true or false.
Unary Operator
▪ Operate on a single operand
▪ .
Add a Slide Title - 5

OOP_Operators USED IN THE JAVA PROGRAMMIG.pptx