
import java.lang.Math;       // Optional --- see comment

public class Exponentiation
{
    public static void main(String[] args)
    {
       double a, b, c;

       a = 3.0;         // Breakpoint here
       b = 2.0;

       c = Math.pow( a, b );  // a^b
    }
} 