中级实训
Zcmmma
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
实训总结报告
阶段1:项目启动本阶段主要是为实训项目做基本的技术准备,学会使用Vi, JAVA, Ant 和 Junit, 以及熟悉GridWorld的使用,并完成指定的任务本阶段虽然基本不用敲代码,但是对于刚上手来说还是有点不知所措,除了学过一点Vi和java,对于Ant、Junit、SonarQube可谓一窍不通,eclipse很久没用也很是生疏。好在虽然看起来很多很杂,但都只是学习点皮毛,掌握基本用法即可,而且本阶段的一些工具在后面很常用,比如Junit和Sonar,所以后期也算是对阶段1不断进行巩固,整个实原创 2020-10-25 11:12:14 · 837 阅读 · 0 评论 -
jumper-testreport
文字部分同designreport.md,并附上图进行验证,eclipse上直接执行测试结果如下图。一张截图可能包含多个验证,所以情况顺序有所调整a. What will a jumper do if the location in front of it is empty, but the location two cells in front contains a flower or a rock?The jumper will turn 45 degrees clockwise to a .原创 2020-10-22 13:00:05 · 241 阅读 · 0 评论 -
Part5
Step1:The AbstractGrid ClassSet 10The source code for the AbstractGrid class is in Appendix D.Where is the isValid method specified? Which classes provide an implementation of this method?Which AbstractGrid methods call the isValid method? Why don’t t原创 2020-10-18 14:27:45 · 220 阅读 · 1 评论 -
Part4
The Critter ClassSet 7The source code for the Critter class is in the critters directoryWhat methods are implemented in Critter?What are the five basic actions common to all critters when they act?Should subclasses of Critter override the getActors m原创 2020-10-18 10:25:51 · 182 阅读 · 1 评论 -
part3
The Location ClassSet 3Assume the following statements when answering the following questions.Location loc1 = new Location(4, 3);Location loc2 = new Location(3, 4);How would you access the row value for loc1?Answer: loc1.getRow()What is the v原创 2020-10-17 15:41:12 · 215 阅读 · 0 评论 -
part2
What is the role of the instance variable sideLength?The BoxBug’s move path is a square, and the sideLength instance variable defines the length of the square.// @file: GridWorldCode/project/boxBug/BoxBug.java// @line: 34~38```javapublic BoxBug(..原创 2020-10-17 12:02:12 · 188 阅读 · 0 评论
分享