📄 maintest_yingjj.java
字号:
package com.jk.test;
import java.util.*;
public class MainTest_yingjj {
/**
* @param args
*/
public static void main(String[] args) {
Collection c=new ArrayList();
Student_yingjj stu=null;
for(int i=1;i<=30;i++){
stu=new Student_yingjj();
stu.setName("yjj"+i);
stu.setAge(22+i);
stu.setGender((int)(Math.random()*3));
c.add(stu);
}
NetClient_yingjj nc=new NetClient_yingjj();
nc.send(c);
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -