You can also use the println()
method to print numbers.
However, unlike text, we don't put numbers inside double quotes:
System.out.println(3);
System.out.println(358);
System.out.println(50000);
You can also perform mathematical calculations inside the println()
method:
截取页面反馈部分,让我们更快修复内容!也可以直接跳过填写反馈内容!