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
Auf dieser Seite können Sie das Online-Video #2.5 Java Tutorial | Arithmetic Operators in Java mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Telusko 15 Januar 2018 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 99,388 Mal angesehen und es wurde von 905 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!