Skip to content

fefong/java_operators

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Java Operators

Example Application: Operators

Sum

intValue = 0; intValue++; intValue = 0; intValue += 1; intValue = 0; intValue = intValue + 1;

output

1 

Subtraction

intValue = 1; intValue--; intValue = 1; intValue -= 1; intValue = 1; intValue = intValue - 1;

output

0 

Multiplication

intValue = 2; intValue *= 2; intValue = 2; intValue = intValue * 2;

output

4 

Division

intValue = 2; intValue /= 2; intValue = 2; intValue = intValue / 2;

output

1 

Some links for more in depth learning

Releases

No releases published

Packages

No packages published

Languages