mydaemon.java

来自「java 完全探索的随书源码」· Java 代码 · 共 19 行

JAVA
19
字号
public class MyDaemon implements Runnable{  // Default Constructor  public MyDaemon()  {    super();  }  // Implement the required method from the Runnable interface  public void run()  {    // Go into an infinite loop. This is normally not a good idea    while( true )    {      // Print this out each time through the loop      System.out.println( "Still Running..." );    }  }}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?