multiply() method in java code example
Example 1: how multiply java
int x = 12;
int y = 13;
int z = x * y;
Example 2: Write a method multiply() in a class Arithmetic
int x = 12;int y = 13;int z = x * y;System.out.println("Multiplication: " + z);