SWUST--Java实验(六) 线程

public class CaThread implements Runnable { static double sum = 1; static String str = "1!"; static int n = 1; Thread thread;//线程类对象 public CaThread() { thread = new Thread(this);//调用本类对象 t
相关文章
相关标签/搜索