Description: 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.
To Search:
- [ShowData] - the applications and the Java language c
File list (Check if you may need any files):
实验三
......\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