please bare with me if this question is repeated because i am not sure of the correct choice.This question is from valiveru's mock
test question 4:
what happens when you compile this code:
The options are:
A: doesnt compile as you cannot override static methods
B:compiles and fails at runtime
c: compiles and prints "Hi pal!!I am a baseclass"
D:compiles and prints "Hi pal!! I am a subclass"
I marked as A as the answer but the answer is C!! can you override static method. If Both the classes were in the same file is it possible then to overirde the static method..
[ October 11, 2005: Message edited by: Mark Spritzler ]