I have been taking one of the mock exam of Marcus and encountered one question that has no answer (not provided in the choices, not even "None of the above" choice). Would this really may appear on the exam?
would be good if you could post the question along with the choices
Joined: Feb 26, 2003
Here is the question i got from Marcus:
Question 8) Which of the following are valid statements
1) public class MyCalc extends Math 2) Math.max(s); 3) Math.round(9.99,1); 4)Math.mod(4,10);
Answer to Question 8) Objective 9.1) None of these are valid statements. The Math class is final and cannot be extended. The max method takes two parameters, round only takes one parameter and there is no mod parameter. You may get questions in the exam that have no apparently correct answer. If you are absolutely sure this is the case, do not check any of the options.