摘要: 1.print print在JAVA中常常使用System.out.pirnt();的输出格式。 在Java中进行一般的输出语句。例子如下: 输出 可见其不会换行。 2.printf printf在JAVA中常常使用System.out.printf();的格式。 在Java中printf常用于格式 阅读全文
posted @ 2023-08-17 20:31 刑大善 阅读(162) 评论(0) 推荐(0)
点击右上角即可分享
微信分享提示