摘要:
1、数组输出输出一个数组中的元素,我们通常用for循环来做,比如:package test;public class Test { public static void main(String args[]){ int arr[]={1,2,3}; System.o... 阅读全文
摘要:
import java.util.Scanner;public class Main { public static void main(String[] args) { Scanner scanner=new Scanner(System.in); whil... 阅读全文