ArrayList<E>E是自定义数据类型
ArrayList类: 构造函数: 成员方法:
public boolean add(E e):
将指定元素加到集合末尾
Appends the specified element to the end of this list.
public class Array {public static…
多线程创建
//多线程创建
void print(string s)
{cout << "i am a new thread:" << s << endl;
}
int main()
{//move将左值变成右值(右值引用过后的属性是左值)//thread t1(print, "t1");//thread t2(move(t1));//调用移动…