This is the source code from the Java Tutorial For Beginners. In this source code, you are going to learn about in Arithmetic Operators in Java programming language.

In Java Programming Language there are five types of arithmetic operators. Here is the list of arithmetic

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

## Source Code:

**Addition**

package applet; public class Applet { public static void main (String args[]) { int x,y, answer; x = 20; y = 30; answer = x + y; Sysem.out.println("Answer = " + answer); } }

**Subtraction**

package applet; public class Applet { public static void main (String args[]) { int x,y, answer; x = 70; y = 30; answer = x - y; Sysem.out.println("Answer = " + answer); } }

**Multiplication**

package applet; public class Applet { public static void main (String args[]) { int x,y, answer; x = 20; y = 30; answer = x * y; Sysem.out.println("Answer = " + answer); } }

**Division**

package applet; public class Applet { public static void main (String args[]) { int x,y, answer; x = 90; y = 30; answer = x / y; Sysem.out.println("Answer = " + answer); } }

**Modular Operator**

package applet; public class Applet { public static void main (String args[]) { int x,y, answer; x = 91; y = 30; answer = x % y; Sysem.out.println("Answer = " + answer); } }