摘要:
public class ScannerDemo { public static void main(String[] args) { Scanner s = new Scanner(System.in); System.out.println("请输入您的金钱"); // s.hasNext() 阅读全文
posted @ 2021-02-11 20:22
火鸡的呐喊
阅读(100)
评论(0)
推荐(0)
摘要:
public class demo3 { public static void main(String[] args) { // 增强for循环,也叫forEach遍历 <=> 数组或者集合对象的语法糖 int[] arr = {1,2,3,4,5,6}; // 最笨的方法 for(int i = 阅读全文
posted @ 2021-02-11 19:40
火鸡的呐喊
阅读(43)
评论(0)
推荐(0)

浙公网安备 33010602011771号