This week's giveaway is in the Testing forum. We're giving away four copies of TDD for a Shopping Website LiveProject and have Steven Solomon on-line! See this thread for details.
5. Which are false a. An instance method can be both protected and abstract b. A static variable can be final d. A static method can be protected e. A static method can be abstract Again totally bamboozed. Any reply
I'm gonna say a, c and e. And I only picked c because it isn't there. I think the best way to be absolutely sure is to fire up the compiler and see what happens!
Well Paul, I can't argue with you about c. However I disagree about (a) - it's certainly possible for an instance method to be protected and abstract. private and abstract would not go together (since private cannot be overridden, only hidden) but any other access level is OK with abstract. So I agree with Roll, it's just e. Well, c and e.
Hi Jim So you have also shifted to group and thanks a lot for the reply. I had some doubts about accessing the new answers in the group. I had written to tony (since he is the official moderator) before and is waiting for the repy. Will keep on troubling you again. Bye Venkat