Basic Operations in Java: Arithmetic and Logical

Learn Java Arithmetic Operators and Compound Assignment with Examples

1/1

What will be in the output?

int a = 14;
int b = a % 4;
System.out.println("14 % 4 is " + b);
Comments