• 2025-01-14java集成开发环境快速配置
    1下载vscode2在插件店铺中搜索java,把开头几个包含java的插件全都安装好3新建文件test.java    并且把后面这个文件复制进去 importjava.util.concurrent.Executor;publicclasstest{publicstaticvoidmain(String[]args)throwsInterruptedExcept
  • 2025-01-14Executor建立线程示范代码java
    importjava.util.concurrent.Executor;publicclasstest{publicstaticvoidmain(String[]args)throwsInterruptedException{SubExecutorsubExecutor=newSubExecutor();subExecutor.execute(newTicketStation(200));subExecutor