文件名称: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.
要求三个类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.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
实验三
......\blackman
......\........\BlackMan.class
......\........\BlackMan.java
......\icaculatable
......\............\icaculatable
......\............\............\ICaculatable.class
......\............\ICaculatable.class
......\............\ICaculatable.java
......\java作业.txt
......\man
......\...\Man.class
......\...\Man.java
......\test.class
......\test.java
......\whiteman
......\........\WhiteMan.class
......\........\WhiteMan.java
......\yellowman
......\.........\YellowMan.class
......\.........\YellowMan.java
......\zuoye.class
......\blackman
......\........\BlackMan.class
......\........\BlackMan.java
......\icaculatable
......\............\icaculatable
......\............\............\ICaculatable.class
......\............\ICaculatable.class
......\............\ICaculatable.java
......\java作业.txt
......\man
......\...\Man.class
......\...\Man.java
......\test.class
......\test.java
......\whiteman
......\........\WhiteMan.class
......\........\WhiteMan.java
......\yellowman
......\.........\YellowMan.class
......\.........\YellowMan.java
......\zuoye.class