Hey Nick,
sorry, but that's not right...
Originally posted by Nick Riviera:
An abstract class would define only abstract methods, but they would all have to be overridden in subclasses or classes that implement the abstract class. Math's static methods contain code, and so the class its self can't be abstract.
First: the abstract keywords tells you, that you can't instantiate this class. That's all. You can have methods which are NOT abstract, and you won't get a compile error.
Second: Of course you can have static methods in an abstract class. No compiler will prevent you to do that...
See the following code for clarification
Hope that clarifies the concept of abstract classes
cheers
Oliver