Wednesday, March 22, 2017

Arithmetic Operators in Java

Hi All,

Today I'm going to talk about Arithmetic Operators in Java, Let's take a quick look at what are Arithmetic Operators.

Arithmetic operators take numerical values (either literals or variables) as their operands and return a single numerical value.

Following are the Arithmetic operators we use in day-to-day life.

Addition (+)
Subtraction (-)
Multiplication (*)
Division (/)

In Java we use another Arithmetic operator except above four operators. That is Remainder Operator.

Remainder (%)

I will talk about each and every operator in detail in upcoming posts for now try to understand following chart of Arithmetic operators.



No comments:

Post a Comment