用JAVA程序编写“定义一个接口,实现三个数中求最大值和最小值的放方法,并将程序存放在mymaths包中?"

日期:2013-04-25 22:11:47 人气:1

用JAVA程序编写“定义一个接口,实现三个数中求最大值和最小值的放方法,并将程序存放在mymaths包中?"

经过测试的。。。 package mymaths; public interface SortNumber { public Integer maxNum(int a,int b); public Integer minNum(int a,int b); } package mymaths; public class TestNumber implements SortNumber{ public Integer maxNum(int a, i
    A+
热门评论