在Java中输出平方符号(²)可使用Unicode “\u00B2″,System.out.println(“x²”);,计算数值平方则用乘法(如 a*a)或 Math.pow(a, 2)。
在线咨询: QQ交谈
邮件:HI@E.KD.CN