views:

135

answers:

5

I got this question for homework, and all I can think of is to return a subclass of an abstract superclass.

Thanks!

+7  A: 

Try looking at the existing Java APIs (eg: java.lang and java.util) to see where they use static methods.

Laurence Gonsalves
Great suggestion, thank you!
alainmeyer1
A: 

Generally methods which need not be tied to a specific object.

fastcodejava
A: 

Factory methods.

Steve Emmerson
+1  A: 

Factory methods

Utility methods

Pascal Thivent
A: 

Dont forget about using them to kick off the console applications we all had to write in cs101

Woot4Moo