Create a class with a static method pow that takes to integers ( base and exponent ) and calculates the power, e.g. pow(2,3) calculates 2 3 .