Given the content of three files: Which statement is true?
Correct Answer: E
Question 97
Given: What is the result?
Correct Answer: A
The compilation fails as SampleClassA and SampleClassB cannot override SampleClass because the return type of SampleClass is int, while the return type of SampleClassA and SampleClassB is long. Note: If all three classes had the same return type the output would be: Hash is : 111111, 44444444, 999999999
Question 98
Given: What is the result? A: B: C: D:
Correct Answer: D
Question 99
Given: Which code fragment can replace the if block? A: B: C: D: