Significant amount of the time, I can't think of a reason to have an object instead of a static class. Do objects have more benefits than I think?
- by Prog
I understand the concept of an object, and as a Java programmer I feel the OO paradigm comes rather naturally to me in practice.
However recently I found myself thinking:
Wait a second, what are actually the practical benefits of using an object over using a static class (with proper encapsulation and OO practices)?
I could think of two benefits…