mirror of
https://github.com/TheAlgorithms/Java.git
synced 2025-12-19 07:00:35 +08:00
Fixed Error:(6, 8) java: class algorithm is public, should be declared in a file named algorithm.java. Inside file PrimeFactorization, the name of public class was wrong.
This commit is contained in:
@@ -23,7 +23,7 @@ start vertex, end vertes and weights. Vertices should be labelled with a number
|
||||
* @param v End vertex
|
||||
* @param c Weight
|
||||
*/
|
||||
Edge(int a,int b,int c)
|
||||
public Edge(int a,int b,int c)
|
||||
{
|
||||
u=a;
|
||||
v=b;
|
||||
|
||||
Reference in New Issue
Block a user