📄 sumclass.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=9B3E3B20-5622-11D3-8EF6-00C04F68F506, typelib=9B3E3B21-5622-11D3-8EF6-00C04F68F506 )
*/
public class SumClass implements component.ISum
{
public int Sum(int x, int y)
{
return x + y;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -