摘要: 第一步 编写代码 public class Hello { public static void main(String[] args) { System.out.println("Hello,World!"); } } 如图 将编写好的代码保存为.txt文件,在将后缀名改为.java后缀,然后保存 阅读全文
posted @ 2021-11-08 10:03 非常ice的Icebear 阅读(158) 评论(0) 推荐(0)
摘要: ##编码 输出方法一:scanner.next(); package com.wrx.scanner; import java.util.Scanner; public class Demo01 { public static void main(String[] args) { //创建一个扫描对 阅读全文
posted @ 2021-11-08 10:01 非常ice的Icebear 阅读(42) 评论(0) 推荐(0)