This review doesn't necessarily have all the topics covered on the midterm, but it does cover most of what will be on the exam. If you know this material, then you should be set.
Show all answers Hide all answers
class Item { private static final double rate = 4.3; public int n; private String name; public Item(int n, String nm) { this.n = n; setName(nm); } public Item(Item itm) { this(itm.n, itm.name); } public Item() { this(0, ""); } public String getName() { return name; } public void setName(String nm) { name = nm; } }