Skip to content

Commit 39b32a2

Browse files
RANJEETJ06siriak
andauthored
Update src/main/java/com/thealgorithms/datastructures/trees/GenericTree.java
Yes that would be better Co-authored-by: Andrii Siriak <[email protected]>
1 parent f8bd499 commit 39b32a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/thealgorithms/datastructures/trees/GenericTree.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public GenericTree() { // Constructor
2828
root = create_treeG(null, 0, scn);
2929
}
3030

31-
private Node create_treeG(Node node, int childIndx, Scanner scn) {
31+
private Node create_treeG(Node node, int childIndex, Scanner scanner) {
3232
// display
3333
if (node == null) {
3434
System.out.println("Enter root's data");

0 commit comments

Comments
 (0)