man
代码说明:
编写一个接口ICaculatable 接口中有一个doCaculte()方法 要求三个类BlackMan WhiteMan YellowMan实现这个方法 BlackMan 实现从控制台输入5个数 排序(正排)输出 WhiteMan 实现从控制台输入5个数 排序(倒排) YellowMan 实现从控制台输入5个数 计算总和 输出 写出一个测试类来测试以上类的功能。 测试类中要有void solveProblem(ICaculatable obj)方法进行测试 要求以上类在不同的包当中。(The preparation of an interface, there is a ICaculatable interface doCaculte () method requires three types of BlackMan WhiteMan YellowMan method to achieve this BlackMan input from the console 5, the number of sort (being ranked) output from the console WhiteMan enter the number 5 ranking (inverted ) YellowMan input from the console 5, the number of calculation of the sum of the output type to write a test to test the functions of the above categories. Test category must be void solveProblem (ICaculatable obj) method of the above testing requirements in different types of packages were.)
下载说明:请别用迅雷下载,失败请重下,重下不扣分!