摘要:
import java.util.ArrayList; import java.util.List; public class AA { public static void main(String[] args) { List list = new ArrayList(); list.add("Hello"); lis... 阅读全文
摘要:
(List)已知有一个Worker 类如下: public class Worker { private int age; private String name; private double salary; public Worker (){} public Worker (String nam 阅读全文
摘要:
package ioliu; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.FileOutputStream; public class Fuzhi { public static void main(String[] args) { ... 阅读全文
摘要:
package lianxi; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.util.Scanner; public class GaimingDemo { ... 阅读全文
摘要:
package lianxi; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.IOException; public class IOdemo { public static void main(String[] args) ... 阅读全文
摘要:
package a927; import java.util.ArrayList; import java.util.List; class Student { private String name ; private int age ; private int score ; private String classNum ; publi... 阅读全文
摘要:
import java.util.ArrayList; import java.util.List; import java.util.Random; public class ListDemo { public static void main(String[] args) { // 实例化 List lt = new ArrayList(); ... 阅读全文
摘要:
package a9_26; import java.util.HashMap; import java.util.Map; import java.util.Scanner; public class A { public static void main(String[] args) { // 提示输入 System.out.println("请... 阅读全文