摘要: 测试文件报告 先贴代码(JumperTest) import java.util.Scanner; import org.junit.jupiter.api.Test; import info.gridworld.actor.ActorWorld; import info.gridworld.act 阅读全文
posted @ 2020-10-20 23:03 Marvel_Iron_Man 阅读(99) 评论(0) 推荐(0) 编辑
摘要: The Location Class Set 3 Assume the following statements when answering the following questions. How would you access the row value for loc1? Location 阅读全文
posted @ 2020-10-20 22:26 Marvel_Iron_Man 阅读(160) 评论(0) 推荐(0) 编辑
摘要: What is the role of the instance variable sideLength? 从的代码当中我们不难看出,该变量是控制该虫子周围的空间大小的,以提供给变量合理的移动空间。 private int steps; private int sideLength; What is 阅读全文
posted @ 2020-10-20 22:24 Marvel_Iron_Man 阅读(66) 评论(0) 推荐(0) 编辑
摘要: Test the setDirection method with the following inputs and complete the table, giving the compass direction each input represents. Degrees Compass Dir 阅读全文
posted @ 2020-10-20 22:23 Marvel_Iron_Man 阅读(86) 评论(0) 推荐(0) 编辑
摘要: Does the bug always move to a new location? Explain. 不会,虫子真会朝着一个有小格子存在的地方,而且这个格子是空的,或者它上面有一朵红花,只有这个情况它才会移动。 解释:该行为被方法act()限制,所以出现这样的行走方式 In which dire 阅读全文
posted @ 2020-10-20 22:22 Marvel_Iron_Man 阅读(101) 评论(0) 推荐(0) 编辑
摘要: 第一部分:vim 一、vim的基本介绍 vi编辑器是所有Unix及Linux系统下标准的编辑器,他就相当于windows系统中的记事本一样,方便代码的编辑和一些其他的文件的书写,很方便。 vim 具有程序编辑的能力,可以以字体颜色辨别语法的正确性,方便程序设计; 二、vim的基本模式选择和操作 此前 阅读全文
posted @ 2020-10-20 22:20 Marvel_Iron_Man 阅读(103) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2020-10-20 22:12 Marvel_Iron_Man 阅读(108) 评论(0) 推荐(0) 编辑