public class FindPowerExample { public static void main(String[] args) { System.out.println(Math.pow(2,2)); System.out.println(Math.pow(-3,2)); } }