转载 对题目和答案谨做参照Q1 A method is
1) an implementation of an abstraction
2) an attribute defining the property of a particular abstraction
3) a category of objects
4) an operation defining the behavior for a particular abstraction
5) a blueprint for making operations
Q2 An object is
1) what classes are instantiated from
2) an instance of a class
3) a blueprint for creating concrete realization of abstractions
4) a reference to an attribute
5) a variable
Q3 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 setStepV