Name:                                                                   Pop Quiz 2/20

1.____ What the point of this whole "if" thing?
A) Declare optional variables
B) Do things over and over again
C) Determine if something is true
D) Only execute certain code when a condition is true

2._____ What does the following code print given the Counter class from mini-assignmentA? (3 pts)

Counter kosong = new Counter();
Counter dua = new Counter(2);
kosong = dua.createEquivalentCounter();
kosong.increment();
System.out.print(dua.getValue()+" ");
dua = kosong;
dua.increment();
System.out.print(kosong.getValue());