Java Tutorials - Java Operator (Arithmetic Operator Part-1)

preview_player
Показать описание
Java Dukes--

This video contains the information about JAVA OPERATORS. Java Supports 7 types of operators.Operator is basically a symbol which is used to perform any specific mathematical or logical manipulation on data.They are--
1. Arithmetic Operators
2. Relational Operators
3. Bit-wise Operators
4. Boolean Operators
5. Conditional Operators
6. Assignment Operators
7. Short-Circuit Operators

In this video i have discussed the primary 5 arithmetic operators. Arithmetic operators can be applied only on numeric data type only i.e. your integer data type and floating point data type. Their are 12 arithmetic operators in java. They are--

1. Addition Operator
2. Subtraction Operator
3. Multiplication Operator
4. Division Operator
5. Modulus Operator
6. Increment Operator
7. Decrement Operator
8. Addition Assignment Operator
9. Subtraction Assignment Operator
10. Multiplication Assignment Operator
11. Division Assignment Operator
12. Modulus Assignment Operator

Addition operator is used to perform normal addition It is used to add the values of two variables.Subtraction operator is used to perform simple subtraction that we have performed in our school time. The next operator is Multiplication Operator this operator s used to perform multiplication between two variables. The next operator is division operator. This operator is used to perform division between two numbers.The last operator which have been discussed in this video is Modulus operator . This operator return the remainder of division returns it as a output.

Java Dukes--
Рекомендации по теме