浅谈多线程

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了浅谈多线程相关的知识,希望对你有一定的参考价值。

什么是线程?

如何才能写出最优秀的代码?

我是谁? 

 

 

public class Student {
private String name;
private int age;
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public int getAge() {
return age;
}
public void setAge(int age) {
this.age = age;
}
}

 

以上是关于浅谈多线程的主要内容,如果未能解决你的问题,请参考以下文章