Genesys interview question

Why do you use static methods in java