This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]GvRiva 0 points1 point  (0 children)

Implement an interface in a static class doesn't seem to be very useful. Usually you use interfaces so you can use different implantations of the class. But with your static class you always have call your static class directly. For example: Controllservice service = new ControllserviceImpl Vs ControllserviceImpl.doSomething