• 大小: 30.75MB
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2021-06-14
  • 语言: 其他
  • 标签: 大数据  

资源简介

663756 大数据基础编程、实验和案例教程 厦门大学 大数据基础编程、实验和案例教程

资源截图

代码片段和文件信息


public class sy6_1 extends Thread{

public static void main(String[] args) {
ThreadFisrt first = null;
ThreadSecond second = null;
ThreadThird third = null;
for(int i=1;i<=5;i++) {
first = new ThreadFisrt();
first.start();
second = new ThreadSecond();
second.start();
third = new ThreadThird();
third.start();
}
}
}

class ThreadFisrt extends Thread{
public void run() {
System.out.println(“the thread is: thread 1“);
}
}

class ThreadSecond extends Thread{
public void run() {
for(int i=1;i<=5;i++)
System.out.println(“the thread is: thread 2“);
}
}
class ThreadThird extends Thread{
public void run() {
for(int i=1;i<=5;i++)
System.out.println(“the thread is: thread 3“);
}
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件     387222  2017-12-07 21:53  1.docx

     文件        588  2017-12-01 18:57  1-1和3\Main\.classpath

     文件        904  2017-12-01 18:58  1-1和3\Main\.project

     文件        567  2017-12-01 18:58  1-1和3\Main\.settings\.jsdtscope

     文件        364  2017-12-01 18:57  1-1和3\Main\.settings\org.eclipse.jdt.core.prefs

     文件        464  2017-12-01 18:57  1-1和3\Main\.settings\org.eclipse.wst.common.component

     文件        305  2017-12-01 18:58  1-1和3\Main\.settings\org.eclipse.wst.common.project.facet.core.xml

     文件         49  2017-12-01 18:58  1-1和3\Main\.settings\org.eclipse.wst.jsdt.ui.superType.container

     文件          6  2017-12-01 18:58  1-1和3\Main\.settings\org.eclipse.wst.jsdt.ui.superType.name

     文件       1304  2017-12-01 19:08  1-1和3\Main\build\classes\MyThread\SimpleThread.class

     文件       1184  2017-12-01 19:26  1-1和3\Main\build\classes\MyThread\ThreadFirst.class

     文件        713  2017-12-01 19:26  1-1和3\Main\build\classes\MyThread\ThreadSecond.class

     文件        877  2017-12-01 19:26  1-1和3\Main\build\classes\MyThread\TwoThread.class

     文件        724  2017-12-01 19:55  1-1和3\Main\build\classes\sy6_1.class

     文件       1042  2017-12-01 20:30  1-1和3\Main\build\classes\test6\Counter.class

     文件       1406  2017-12-01 20:30  1-1和3\Main\build\classes\test6\Printer.class

     文件        551  2017-12-01 20:03  1-1和3\Main\build\classes\test6\Storage.class

     文件        723  2017-12-01 20:13  1-1和3\Main\build\classes\test6\TestCounter.class

     文件        487  2017-12-01 19:55  1-1和3\Main\build\classes\ThreadFisrt.class

     文件        557  2017-12-01 19:55  1-1和3\Main\build\classes\ThreadSecond.class

     文件        555  2017-12-01 19:55  1-1和3\Main\build\classes\ThreadThird.class

     文件        632  2017-12-01 19:08  1-1和3\Main\src\MyThread\SimpleThread.java

     文件       1276  2017-12-01 19:26  1-1和3\Main\src\MyThread\TwoThread.java

     文件        763  2017-12-01 19:55  1-1和3\Main\src\sy6_1.java

     文件        598  2017-12-07 21:23  1-1和3\Main\src\test6\Counter.java

     文件        568  2017-12-07 21:23  1-1和3\Main\src\test6\Printer.java

     文件        285  2017-12-01 20:03  1-1和3\Main\src\test6\Storage.java

     文件        260  2017-12-07 21:24  1-1和3\Main\src\test6\TestCounter.java

     文件         39  2017-12-01 18:57  1-1和3\Main\WebContent\meta-INF\MANIFEST.MF

     文件        727  2017-12-07 21:54  1-2\test6\Counter.java

............此处省略22个文件信息

评论

共有 条评论