 Convertir ce code en Java
 def power_of_two(x):\n if x > 0:\n return x * power_of_two(x-1)\n else:\n return 1
public static int powerOfTwo(int x) {\n if (x > 0) {\n return x * powerOfTwo(x-1);\n }\n return 1;\n}