Multiple Choice
What happens if you attempt to use a variable before it has been initialized?
A) A syntax error may be generated by the compiler
B) A runtime error may occur during execution
C) A "garbage" or "uninitialized" value will be used in the computation
D) A value of zero is used if a variable has not been initialized
E) Answers A and B are correct
Correct Answer:

Verified
Correct Answer:
Verified
Q6: An API is<br>A) an Abstract Programming Interface<br>B)
Q16: In Java a variable may contain<br>A) a
Q17: When comparing any primitive type of variable,
Q18: These two ways of setting up a
Q19: A JPanel can be added to a
Q21: Say you write a program that makes
Q22: What is the advantage of putting an
Q23: Write a method to extract the initial
Q30: All the methods in the Math class
Q33: You may apply the prefix and postfix