Java基础:面向对象方法实现寻找最大值 效果如下: 代码如下: class ChooseMax{ public static void main(String[] args){ MaxTools m =new MaxTools()