mirror of
https://github.com/TheAlgorithms/Java.git
synced 2026-03-13 08:40:43 +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