摘要: 一.数组的基本使用 public class demo{ public static void main(String[] args){ //使用数组四部走 int[] a; //声明数组 a = new int[5]; //分配空间 for(int i=0;i<5;i++){ a[i] = i; 阅读全文
posted @ 2020-03-03 19:03 Crown-V 阅读(160) 评论(0) 推荐(0) 编辑
摘要: 一.猜拳游戏 import java.util.Scanner; public class demo{ public static void main(String[] args){ Scanner data = new Scanner(System.in); System.out.println( 阅读全文
posted @ 2020-03-03 11:02 Crown-V 阅读(564) 评论(0) 推荐(0) 编辑