We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Because all its methods are static methods. This would prevent people from doing stupid things like: UnsignedNumbers un = new UnsignedNumbers();
UnsignedNumbers un = new UnsignedNumbers();
...Or make the class final and add a private constructor:
public class UnsignedNumbers { private UnsignedNumbers(){/*do not instantiate me*/} }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Because all its methods are static methods. This would prevent people from doing stupid things like:
UnsignedNumbers un = new UnsignedNumbers();
...Or make the class final and add a private constructor:
The text was updated successfully, but these errors were encountered: