摘要: 特殊之处:有两个名称一摸一样的方法square(),但是两种方法的返回值的数据类型以及参数的数据类型都是不同的,一个为int一个为double。 运行结果:The square of integer 7 is 49 The square of double 7.5 is 56.25 总结:上述代码体 阅读全文
posted @ 2022-09-19 19:53 锴‘ 阅读(23) 评论(0) 推荐(0)