#8 Operators in Java

Опубликовано: 16 Январь 2023
на канале: Nilesh Kavankar
104
0

In this video, I have explained the key points for Operators in java.

Definition:
Operator is a symbol that is used to perform operations on variables and values.
For example +, -, *, / etc.

Types of Operators in Java:
Assignment operators
Arithmetic operators
Comparison operators
Logical operators

Assignment operators:
It is most commonly used operators in Java. It is used to assign values to variables. It has right to left associativity.
i.e. Value given on the right-hand side of this operator is assigned to the variable on the left.
Example: int x = 100;

Arithmetic operators:
These operators are used to perform common mathematical operations like addition, subtraction, multiplication, and division.
Example: int z = x+y;

Comparison operators:
It is used to compare two values.

Logical operators:
It is used to determine the logic between variables.


На этой странице сайта вы можете посмотреть видео онлайн #8 Operators in Java длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь Nilesh Kavankar 16 Январь 2023, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 104 раз и оно понравилось 0 зрителям. Приятного просмотра!