📄 echoclient.java
字号:
package questions.c16;
import java.io.*;
import java.rmi.Naming;
import java.rmi.RMISecurityManager;
/** An client program that uses the RemoteEcho
*/
public class EchoClient {
public static void main( String[] args ) {
if ( System.getSecurityManager() == null ) {
System.setSecurityManager(
new RMISecurityManager() );
}
try {
// your code here
} catch ( Exception x ) {
x.printStackTrace();
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -