Because they are class methods and hence access to them is always resolved during compile time only using the compile time type information.Due to which even if you override them you will not be able take advantage of runtime polymorphism and the static method from the class of thr reference variable will be called.
I am also preparing for SCJP, I have the material to read, but Im looking for some full fledged practice test..
(And I want them free, that's the issue...)
Shashank Hansraj Singh wrote:Thank you, that was very precise..
I am also preparing for SCJP, I have the material to read, but Im looking for some full fledged practice test..
(And I want them free, that's the issue...)
Could I get some references???
Well, go through ScjpMockTests and ScjpFaq for more details, there are so many links to free mocks. Try them....
|BSc in Electronic Eng| |SCJP 6.0 91%| |SCWCD 5 92%|