JAVA中,% == && || Math.sqrt(x) Math.pow Math.floor(x) Math.round(x)各是什么意思?非常急

来源:学生作业帮助网 编辑:作业帮 时间:2024/04/28 21:05:35

JAVA中,% == && || Math.sqrt(x) Math.pow Math.floor(x) Math.round(x)各是什么意思?非常急

%:余数
==:地址比较
&&:逻辑与
||:逻辑或
Math.sqrt(x):平方根
Math.pow(x,y):x的y次方
Math.floor(x):舍去小数部分
Math.round(x):四舍五入