sumclass.java
来自「经验交流,从网上下载的好东西望大家分享」· Java 代码 · 共 14 行
JAVA
14 行
/**
* 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 + =
减小字号Ctrl + -
显示快捷键?