单项选择题
A.java SmallProg
B.avac SmallProg
C.javac SmallProg.java
D.java SmallProg main
单项选择题 HowdoobjectspassmessagesinJava?()
多项选择题 Given that Thing is a class, how many objects and reference variables are created by the following code?() Thing item, stuff; item = new Thing(); Thing entity = new Thing();
单项选择题 Which line contains a constructor in this class definition?() public class Counter { // (1) int current, step; public Counter(int startValue, int stepValue) { // (2) set(startValue); setStepValue(stepValue); } public int get() { return current; } // (3) public void set(int value) { current = value; } // (4) public void setStepValue(int stepValue) { step = stepValue; } // (5) }