mirror of
https://github.com/TheAlgorithms/Java.git
synced 2025-07-19 17:54:42 +08:00
Closing scanners.
This commit is contained in:
@ -100,6 +100,7 @@ start vertex, end vertes and weights. Vertices should be labelled with a number
|
||||
System.out.println();
|
||||
}
|
||||
}
|
||||
sc.close();
|
||||
}
|
||||
/**
|
||||
* @param source Starting vertex
|
||||
|
Reference in New Issue
Block a user