diff --git a/Data Structures/Graphs/BFS.java b/Data Structures/Graphs/BFS.java index 4f3bd62d339c..d06a66068632 100644 --- a/Data Structures/Graphs/BFS.java +++ b/Data Structures/Graphs/BFS.java @@ -6,7 +6,7 @@ * @author Unknown * */ -public class bfs{ +public class BFS{ /** * The BFS implemented in code to use. diff --git a/Data Structures/Graphs/DFS.java b/Data Structures/Graphs/DFS.java index 8ceba166e149..747fcbed5dfc 100644 --- a/Data Structures/Graphs/DFS.java +++ b/Data Structures/Graphs/DFS.java @@ -7,7 +7,7 @@ * */ -public class dfs{ +public class DFS{ /** * Implementation in code of a DFS diff --git a/Data Structures/Graphs/PrimMST.java b/Data Structures/Graphs/PrimMST.java index 9d8c2d358c04..25695050275c 100644 --- a/Data Structures/Graphs/PrimMST.java +++ b/Data Structures/Graphs/PrimMST.java @@ -100,7 +100,7 @@ public static void main (String[] args) | / \ | (3)-------(4) 9 */ - MST t = new MST(); + PrimMST t = new PrimMST(); int graph[][] = new int[][] {{0, 2, 0, 6, 0}, {2, 0, 3, 8, 5}, {0, 3, 0, 0, 7},
Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.
Alternative Proxies: