mirror of
https://github.com/TheAlgorithms/Java.git
synced 2025-12-19 07:00:35 +08:00
style: enable HideUtilityClassConstructor in checkstyle (#5147)
This commit is contained in:
@@ -3,7 +3,9 @@ package com.thealgorithms.others;
|
||||
/* Program to reverse a Stack using Recursion*/
|
||||
import java.util.Stack;
|
||||
|
||||
public class ReverseStackUsingRecursion {
|
||||
public final class ReverseStackUsingRecursion {
|
||||
private ReverseStackUsingRecursion() {
|
||||
}
|
||||
|
||||
// Stack
|
||||
private static Stack<Integer> stack = new Stack<>();
|
||||
|
||||
Reference in New Issue
Block a user