Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Dijkstra.java
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ int minDistance(int dist[], Boolean que[])
return index;
}


// printsolution is a function to print distance between vertex and source.
void printSolution(int dist[], int n)
{
System.out.println("Vertex Distance from Source");
Expand Down
2 changes: 1 addition & 1 deletion JavaDateAndTime.java
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public static String getDay(String day, String month, String year) {
/**
* Converts the String type day into integer type y using parseInt() method)
*/
Calendar c = Calendar.getInstance();
Calendar c = Calendar.getInstance(); // The java.util.Calendar.getInstance() method gets a calendar using the specified time zone and specified locale.
c.set(y, m-1, d);

int p = c.get(Calendar.DAY_OF_WEEK);
Expand Down