04 Operators

Operators are used to perform operations on variables and values.

Java divides the operators into the following groups:

Arithmetic operators are the symbols that represent arithmetic math operations.

Assignment operators are used in Java to assign values to variables.

Comparison operators in Java are used for less than (<), less than or equal to (<=), greater than or equal to (>=), greater than (>), and instanceof comparison operations.

Logical operators (sometimes called a “Boolean operator”) in Java programming is an operator that returns a Boolean result that’s based on the Boolean result of one or two other expressions

truht table

Bitwise operators are used to perform manipulation of individual bits of a number. They can be used with any of the integral types (char, short, int, etc). They are used when performing update and query operations of Binary indexed tree.

Thanks for reading so far. I will continue my Java journey in the next article

previous: https://vuslats.medium.com/03-input-and-output-c5d9d6d5d6dc




Software Developer | my universe: https://twitter.com/NightmaresTown

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

My Big Take Aways from Introduction to Backend Development

How to Estimate Software Development Time?

Good Byebug: A Guide

How to code the Game Of Life in Python without Pygame

Here’s our 158th AMA recap!

DB Schema change management with the CDK Custom Resources

Relationship Modell for CRMs

The sense of purpose in a complex system

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store


Software Developer | my universe: https://twitter.com/NightmaresTown

More from Medium

Making Readable Code With Dependency Injection and Jakarta CDI

Is String Objects in Java are Immutable?