Utility classes that extend Object and contain only
static methods should only contain a private (or maybe
protected, configurable) constructor to disallow
public class Util
public static multiply(int a, int b)
return a * b;
should be flagged, as it contains an implicit public
Log in to post a comment.