We have different types of operators in Java:
1) Arithmetic :- ( +, -, *, / , %)
-Division operator will always give a quotient not the decimal part when the data type is int.
-You need to typecast it with the double to get the proper quotient with the decimal part.
-% will give the remainder.
Shorthand operators:- n+=1 ( n=n+1)
Increment Operators:
Pre Increment: ++n (first add and than save)
Post Increment: n++ (first save and than add)
Decrement Operators:
Pre decrement: --n (first subtract and than save)
Post decrement: n-- (first save and than subtract)
2) Bitwise
3) Relational
4) Logical
Comments:
The statements are not executed by the compiler and interpreter but are used to provide information or explanation about the variable, method, class, or any statement.
Single-line comment (//)
Multi-line comment( /*..*/)
In this video we will see :
How to use operators?
Types of Operators
Examples of Arithmetic Operators
Increment and Decrement Operators
How to write comments?
Instagram : / navinreddyofficial
Linkedin : / navinreddy20
Discord : / discord
More Learning :
Java - https://bit.ly/3xleOA2
Python :- https://bit.ly/3H0DYHx
Django :- https://bit.ly/3awMaD8
Spring Boot :- https://bit.ly/3aucCgB
Spring Framework :- https://bit.ly/3GRfxwe
Servlet & JSP :- https://bit.ly/3mh5CGz
Hibernate Tutorial :- https://bit.ly/3NWAKah
Rest API | Web Service Tutorial :- https://bit.ly/38RJCiy
Git :- https://bit.ly/3NUHB3V
JavaScript :- https://bit.ly/3mkcFys
Kotlin :- https://bit.ly/3GR2DOG
Donation:
PayPal Id : navinreddy20
Patreon : navinreddy20
http://www.telusko.com/contactus
On this page of the site you can watch the video online #2.5 Java Tutorial | Arithmetic Operators in Java with a duration of hours minute second in good quality, which was uploaded by the user Telusko 15 January 2018, share the link with friends and acquaintances, this video has already been watched 99,388 times on youtube and it was liked by 905 viewers. Enjoy your viewing!