source:http://enigma.vm.bytemark.co.uk/webstart.html
John Meyers's
SCJP 5 mock exam:question 60
A transient
B default
C private
D Hiding cannot be prevented
E protected
F final
The correct answer is C.
final methods cannot be overriden and private methods are never inherited so they are not overriden either. However option F would cause a compile time error since a final method cannot be overridden.
I thought the answer would be D.This is what I read from the K&B's book(Chap2):
"
Finally,remember that static methods can't be overridden!This doesn't mean they can't be redefined in a subclass,but redefining and overriding aren't the same thing.Let's take a look at an example of a redefined(remember,not overridden),static method:
Running this code produces the output
a a a
"