摘要:
1.写出 第21、24行的运行结果。(画出box-pointer指示图会对答题很有帮助) 1 public class Shock { 2 public static int bang; 3 public static Shock baby; 4 public Shock() { 5 this.ba 阅读全文
摘要:
第19行的变量 level是 静态方法change方法内部的本地变量,他对main方法里的level或者是实例变量level没什么影响。 public class Pokemon {// 一个名为Pokemon的类 public String name;// 实例变量name public int 阅读全文
摘要:
pass by what? a. 下列程序 每一行怎么运行? b. 画出box-and-pointer 指示图 c. 在第19行,level被赋值为50 ,level是什么?是Pokemon的实例变量?(instance variable)还是change方法的本地变量?(local variabl 阅读全文
摘要:
be aware of the fucking "\r" // Node.js program to demonstrate // the fsPromises.readFile() method // Include fs module const fs = require("fs"); cons 阅读全文
摘要:
// 1.写出每一行(你认为)的运行结果 int size = 27; String name = "Fido"; Dog myDog = new Dog(name, size); int x = size - 5; if (x < 15) { myDog.bark(8); } while (x > 阅读全文