摘要:
研究字符串的拼接原理,字符串的拼接可以使用字符‘+’来进行操作的,任何的基础数据与字符串相加拼接成一个新的字符串,为了更好的理解字符串的拼接,我们进行测试 源代码: public class Main{ public static void main(String[] args) { System. 阅读全文
posted @ 2023-09-14 19:41
Snor9
阅读(93)
评论(0)
推荐(0)
摘要:
浮点数加减乘除的计算是否会是一个准确值呢? 为此,我写了一个源代码来进行测试 public static class Main{ public static void main(String[] args) { System.out.println("0.51+0.1="+(0.51+0.01)); 阅读全文
posted @ 2023-09-14 19:34
Snor9
阅读(51)
评论(0)
推荐(0)