摘要:
Scanner scan= new Scanner(System.in);从键盘输入 int number1=scan.nextInt(); String word=scan.next();//不能获取字符,只能字符串 char c=word.charAt(0);//获取第一个字符 自动类型提升顺序 阅读全文
posted @ 2021-08-02 14:45
dydyTom
阅读(37)
评论(0)
推荐(0)
摘要:
IDEA快捷键: 1.sout 2.soutp 打印形参 3.soutv * Eclipse中的快捷键:* 1.补全代码的声明:alt + /* 2.快速修复: ctrl + 1* 3.批量导包:ctrl + shift + o* 4.使用单行注释:ctrl + /* 5.使用多行注释: ctrl 阅读全文
posted @ 2021-08-02 14:44
dydyTom
阅读(40)
评论(0)
推荐(0)

浙公网安备 33010602011771号