📄 addser.java
字号:
/**
* This class is designed to be packaged with a COM DLL output format.
* The class has no standard entry points, other than the constructor.
* Public methods will be exposed as methods on the default COM interface.
* @com.register ( clsid=FA40CCF5-C6FF-4522-BB9B-CB670E484940, typelib=B04407C8-E315-49DE-9D60-AD2293623E14 )
*/
public class AddSer
{
// TODO: Add additional methods and code here
public int sum(int x,int y){
return x+y;}
/**
* NOTE: To add auto-registration code, refer to the documentation
* on the following method
* public static void onCOMRegister(boolean unRegister) {}
*/
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -