<prompt> Kujenga Java Class ambayo ina njia tatu.  <response>: Here is a simple Java class with three methods:javapublic class MyClass method 1: Adds two integer values public int addint x, int y return x y; method 2: Subtracts two integer values public int subtractint x, int y return x - y; method 3: Calculates average of two integer values public double averageint x, int y return x y 2.0; This class has three methods: add, subtract, and average that perform basic arithmetic operations on two integer values. The first two methods return an integer value while the third method returns a double value. 