摘要:
1. Draw the control flow graph for the printPrime() method. ans: 2.Consider test cases ti = (n = 3) and t2 = ( n = 5). Although these tour the same pr 阅读全文
posted @ 2018-03-25 21:38
YADKAR
阅读(452)
评论(0)
推荐(0)
摘要:
Primes.java 1 package findPrimes; 2 3 public class Primes { 4 5 private final static int MAXPRIMES = 100; 6 7 private boolean isDvisible(int a, int b) 阅读全文
posted @ 2018-03-25 21:38
YADKAR
阅读(635)
评论(0)
推荐(0)
摘要:
对于Junit和hamcrest的安装,使用了eclipse自动导入的Junit4包(因为实验要求Junit以及hamcrest版本正好和eclipse氧气中自动导入的包版本一样),具体步骤如下: 鼠标右键点击工程->点击Properties->Java Build Path->Libraries- 阅读全文
posted @ 2018-03-25 21:35
YADKAR
阅读(550)
评论(0)
推荐(0)

浙公网安备 33010602011771号