摘要: package test;public class Calculator { private static int result; // 静态变量,用于存储运行结果 public void add(int n) { result = result + n; } ... 阅读全文
posted @ 2014-09-29 22:20 yufenghou 阅读(194) 评论(0) 推荐(0)