It also defeats the purpose of OOP. In OOP objects are useful because you can have multiple instances with different states. Static only allows you to have one global state.
It also defeats the purpose of OOP. In OOP objects are useful because you can have multiple instances with different states. Static only allows you to have one global state.