<p>You are <em>not</em> allowed to declare instance variables. I won’t explain here because we’re technically not supposed to discuss the test, but yeah.</p>
<p>FRQ: was very easy.
MC: again, very easy comparatively, 1 or 2 questions that were odd but otherwise nothing.</p>
<p>you definitely canNOT instantiate an interface. for example:</p>
<p>List<e> testerList = new List<e>(); // fails to compile.
List<e> tester = new ArrayList<e>(); // compiles b/c ArrayList<e> implements List<e></e></e></e></e></e></e></p>
<p>However…from the Litvin Textbook:
“In Java, an interface is even more “abstract” than an abstract class. An interface has no constructors or instance variables and no code at all &mdash just headings for methods. All its methods are public and abstract…”</p>
<p>This would suggest both of those answers were incorrect. Idk what the right answer is though.</p>
<p>My test experience:
MC: I felt it was OK not easy or hard and some stuff I felt I was a little shaky. (especially the Datapoint one) I guessed 42 for the binary (and was right woot!)
FRQ:
I thought was pretty easy. I felt like easy enough that I missed something or my answers were too simple. Like the second part of gridworld I only overrode one method and didn’t take in that it was static.
So hoping for a 5, might get a 4</p>
<p>@phoenix23 wasn’t the datapoint one just extend the class, call the super constructor, and instantiate a String variable or something like that?</p>
<p>I know it was 42, what I’m saying is that I might have made the 2^0 place the 2^1 place so I might have got 84 instead of 42. But I’m not sure. >_></p>
<p>the false one is the one with the instance variables MCQ was pretty easy but i failed the FRQs; didn’t learn gridworld that well and i suck with 2D arrays. ***. understand every othershiets well yet i’m tested on my wekness. D:</p>
<p>btw @Alexguy96 explained the answer choice wrong.
1 was if a SUBCLASS of an interface could instantiate an object.
very possible (ex:)</p>
<p>public interface Comparable{
public int compareTo(Object obj);
}</p>
<p>public class CheckDemGrades{
private int iStuID;
private String sName;</p>
<p>public CheckDemGrades( int enterYoID, String watyoName){
iStuID = enterYoID;
sName = watyoName;
}
// assume there’s other accessor and mutator methods, too lazy to make dem.
// assume that compareTo is also implemented…
}</p>
<p>Although this is illegal,
Comparable com = new Comparable(); </p>
<p>these are NOT, and are perfectly acceptable:
Comparable disWorks = new CheckDemGrades(01011011, “Bobby Hill”);
CheckDemGrades disWorksToo = new CheckDemGrades(01011010 , “Hank Hill”);</p>
<p>Lol, I feel so dumb thinking that the AP free response section was a bit challenging. Nobody’s really talked about this but how did you guys do the first question? I got a bit confused by the wording of the question and how it asked us to call methods for an object from a separate class. Was the music ArrayList a bunch of download objects? Or did you have to initialize new separate download objects and then compare them to the ArrayList? Otherwise, realized I also made a few stupid errors on the other FRQs after reading other people’s posts. Grid world seemed harder than the past ones as well (wasn’t really familiar with grid though).</p>
<p>MC was about expected. Possibly a bit harder than past tests but not bad. I actually thought the MC was the easier part LOL which should not be the case… Probably should’ve studied more FRQs than gone over Barron’s.</p>