arithmetic operator in java in hindi
Автор: Tarun Sir
Загружено: 2021-09-09
Просмотров: 486
Описание:
In this video you will learn what are the arithmetic operators and their types.
Such operators which are used to perform mathematical operations, are called as arithmetic operators.
We have following five arithmetic operators in java:
1)Addition or plus +
2)Subtraction or minus -
3)Multiply or product *
4)Divide /
5)Remainder %
Example:
2+5 gives 7
12+5.0 gives 17.0
2-5 gives -3
20.0-5.2 gives 14.8
10%4 gives 2
-10%4 gives -2
-10%-4 gives -2
10%-4 gives 2
10/0 gives ArithmeticException at runtime
10.0/0 gives Infinity
-10.0/0 gives -Infinity
0.0/0 gives NaN
"ta"+"run" gives "tarun"
www.tarunsir.com
www.cinstitute.org.in
Connect me on linkedin / tarrunverrma
/ the_ultimate_coding_stuff
#tarunsir #javatutorial #learnprogramming #addition #subtraction #multiply #divide #remainder
Повторяем попытку...
Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: