where the teacher has said something breifly in the past that was wrong about it.
For example, on a CS (Java) test I had two questions.
Q: Which of the following can you not store a numerical value in?
a) int
b) double
c) char
d) None of the above work
e) All of the above work
Well, the correct answer is (e) b/c you can cast a number to a char and get it back. We've never done this before so I have no basis for comparison.
Q: [t/f] You have to import the package to use classes outside of java.lang
FALSE: new java.util.Random();
No one else put this, I do remember her stating the opposite a few times before.
For example, on a CS (Java) test I had two questions.
Q: Which of the following can you not store a numerical value in?
a) int
b) double
c) char
d) None of the above work
e) All of the above work
Well, the correct answer is (e) b/c you can cast a number to a char and get it back. We've never done this before so I have no basis for comparison.
Q: [t/f] You have to import the package to use classes outside of java.lang
FALSE: new java.util.Random();
No one else put this, I do remember her stating the opposite a few times before.