package test1import .public class MyList {public static void main(String[] args) {LinkedList<Person> list = new LinkedList<Person>()Person p = new Person(刘亦菲 1231001)Student s = new Student(杨幂 1232002
package test1public class HelloWorld {public static void main(String[] args) {new Hello1().start()new Hello2().start()}}class Hello1 extends Thread{public void run(){for(int i=1i<=5i){(Helloi )}}}clas
package test2public class SellTicket {public static void main(String[] args) {String str = nullfor (int i = 0 i < 10 i) {str = 第 i 售票点Thread thread = new Thread(new Ticket() str)()}}} :
#
#
package pack4import . import .event. import .class MyKeyListener implements KeyListener{ public void keyPressed(KeyEvent evt) { (n按键被按下) showKeyEventMsg(evt) } public void keyReleased(Ke
#
#
#
#
违法有害信息,请在下方选择原因提交举报