Add.java
上传用户:hensond
上传日期:2021-12-27
资源大小:817k
文件大小:0k
- package com.company.section5;
- /**
- * @author cbf4Life cbf4life@126.com
- * I'm glad to share my knowledge with you all.
- */
- public class Add implements Calculator {
- //加法运算
- public int exec(int a, int b) {
- return a+b;
- }
- }