public final class UtilityClass { | |
// Private constructor to prevent instantiation | |
private UtilityClass() { | |
throw new UnsupportedOperationException(); | |
} | |
//public static methods here | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment