W3School TIY Editor

  • W3School 在线教程
  • 改变方向
  • 暗黑模式
​x
 
public class Main {
  public static void main(String[] args) {
    System.out.println(Math.pow(2, 8));
    System.out.println(Math.pow(3, 4));
    System.out.println(Math.pow(9, 0.5));
    System.out.println(Math.pow(8, -1));
    System.out.println(Math.pow(10, -2));
  }
}
​