99色精品-9色在线-99色在线-99色视频 国产欧美日产一区二区三区_亚洲精品亚洲人成在线观看_四虎在线精品永久观看_免费一级a一片久久精

單項選擇題

20. public float getSalary(Employee e) { 
21. assert validEmployee(e); 
22. float sal = lookupSalary(e); 
23. assert (sal>0); 
24. return sal; 
25. } 
26. private int getAge(Employee e) { 
27. assert validEmployee(e); 
28. int age = lookupAge(e); 
29. assert (age>0); 
30. return age; 
31. } 
Which line is a violation of appropriate use of the assertion mechanism?()  

A. line 21
B. line 23
C. line 27
D. line 29

微信掃碼免費搜題