- /**
- * 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;
- }
- }