I got a design question in my mind. Suppose if I have a class which has only static methods, what would be the best design option from the following two.
- Make the class abstract
- Make the constructor private, so that no code outside the class can make an object of this class.
Does the choice depend on the situation or there is one best way to go? And why?