usserver.java

来自「程序设计模式java入门源码大全」· Java 代码 · 共 33 行

JAVA
33
字号
public class USServer implements Receiver
{
  public USServer()
  {
  }

  public void connect()
  {
    System.out.println("You're connected to the US server.");
  }

  public void diagnostics()
  {
    System.out.println("The US server diagnostics check out OK.");
  }

  public void shutdown()
  {
    System.out.println("Shutting down the US server.");
  }

  public void reboot()
  {
    System.out.println("Rebooting the US server.");
  }

  public void disconnect()
  {
    System.out.println("You're disconnected from the US server.");
  }

}

⌨️ 快捷键说明

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