mirror of
https://github.com/TheAlgorithms/Java.git
synced 2025-07-05 16:27:33 +08:00
style: enable HideUtilityClassConstructor
in checkstyle (#5147)
This commit is contained in:
@ -1,7 +1,9 @@
|
||||
package com.thealgorithms.maths;
|
||||
|
||||
// POWER (exponentials) Examples (a^b)
|
||||
public class Pow {
|
||||
public final class Pow {
|
||||
private Pow() {
|
||||
}
|
||||
|
||||
public static void main(String[] args) {
|
||||
assert pow(2, 0) == Math.pow(2, 0); // == 1
|
||||
|
Reference in New Issue
Block a user