由面向對象思想編寫程序想到的

public class Counter{ int num1; int num2; public Counter( int num1, int num2 ){ this.num1 = num1; this.num2 = num2; } public Counter(){ } public void plus(){ int result = num1 + nu
相關文章
相關標籤/搜索