Re: abstract static
Hello Derick,
a static method is invoked without an instance but through the class.
An abstract method is a placeholder that allows calling at that level
of hierarchy. So when you have a code that deals with some objects derived
from an abstract class you may call the abstract method on that instance
because the derived class it was created from must have implemented the
abstract methods of your abstract class. In contrast nobody would force
you implement abstract static classes and even if we would do (actually
we do that) you could still invoke the static method through the class
and - bang! Since interfaces behave differently and do not allow to call
something anyway they can be used to insert abstarct static methods in
your code.
best regards
marcus
Wednesday, March 1, 2006, 10:21:43 AM, you wrote:
> Hello!
> What is the reason why "abstract static" is no longer
> allowed in HEAD?
Thread (2 messages)