摘要:
Scanner类用以获取用户输入的信息,用户输入后,可使用next()和nextLine()进行接收。 使用next() package com.cxf.scanner; import java.util.Scanner; public class Demo2 { public static voi 阅读全文
posted @ 2021-08-15 21:44
菜小疯
阅读(45)
评论(0)
推荐(0)
摘要:
以下代码区分a和a public class Helloworld { public static void main(String[] args) { int a = 1; int b = a++; int c = 1; int d = ++c; System.out.println(a); Sy 阅读全文
posted @ 2021-08-15 12:35
菜小疯
阅读(68)
评论(0)
推荐(0)