A method is a unit of code that you call in a Java program. A method can support arguments and usually returns a value. To create a method in Java, follow these four steps.
The method you have coded is named
computeAreaOfRectangle. It accepts two integer arguments and returns an integer, the product of the two arguments.