Check out example codes for "Write a method multiply() in a class Arithmetic". It will help you in understanding the concepts better.

Code Example 1

int x = 12;
int y = 13;
int z = x * y;

Code Example 2

int x = 12;int y = 13;int z = x * y;System.out.println("Multiplication: " + z);

Learn ReactJs, React Native from akashmittal.com