class Power_Of_Number{ public static void main(String args[]){ int base = 2, exponent = 3; double ans = java.lang.Math.pow(base, exponent); System.out.println("Answer = "+ans); } }