Write a Java program to compute the value of m^n using method. code example Example: how to find powers in java int n=Math.pow(N, P);