Ad
  • Default User Avatar

    I think the method 'pow' belongs to the Math class. It's static so you invoke it like this 'Math.pow(someInt,someOtherInt)'
    And it needs two parameters, no?
    The Math class lives in java.lang so you don't need to import it.
    Apologies if you're thinking of a different pow method.