实现线程的方法:
继承Thread类 例:public class Test extends Thread{}
实现Runnable接口:例:public class Test implements Runnable{}
还有其他方式比较复杂就不介绍了。
修饰同步方法关键字:synchronized
stop()和suspend()方法为何不推荐使用:
网页链接这里有比较详细的解释,我就不赘述了。