Skip to content

Java (Base language)

To learn more about advanced Java topics such as the Java virtual machine, collections language, and many more topics, visit baeldung.com.

Refactoring.guru ⧉ has information about general code smells.

Utility and Helper Classes

  • Utility class: They include only static methods and are stateless. Don't create an instance of such a class.
  • Helper class: They can be utility classes, or they can be stateful or require an instance. It can be any class whose design is to aid another class.
  • Try to make the name of the utility or helper class more specific (e.g., AdministrationHelper, LoginHelper instead of Helper).

More Tips

Stack Exchange: Software Engineering¶ ⧉

Comments