int a=2; a=Math.pow(a,a); Here is the code. He does not work. I do not see any mistakes. But the compiler swears: "Error: (199, 45) error: incompatible types: possible lossy conversion from double to int" As you understood, at the output it should turn out that a = 4.