Skip to content

Commit ff92056

Browse files
authored
Merge pull request TheAlgorithms#491 from JayH2018/patch-1
className is error
2 parents a1cbd65 + 890b9df commit ff92056

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

DataStructures/Trees/GenericTree.Java

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import java.util.ArrayList;
22
import java.util.LinkedList;
33
import java.util.Scanner;
44

5-
public class treeclass {
5+
public class GenericTree {
66
private class Node {
77
int data;
88
ArrayList<Node> child = new ArrayList<>();
@@ -22,7 +22,7 @@ public class treeclass {
2222
I have done this, while calling from main one have to give minimum parameters.
2323
2424
*/
25-
public treeclass() { //Constructor
25+
public GenericTree() { //Constructor
2626
Scanner scn = new Scanner(System.in);
2727
root = create_treeG(null, 0, scn);
2828
}

0 commit comments

Comments
 (0)