如果要表示(10^9),则有: import java.util.* public class Main{ public void main(String[] args){ int a=10; int b=9; double c=Math.pow(a,b); System.out.print(c); } } 则输出为1.0E9,也就是(10^9)。