Write a program in Java where you:
Use Dijkstra's algorithm to implement a program that computes the shortest distance between two nodes of an undirected weighted graph. Once Dijsktras algorithm has executed, use its output to automatically identify a shortest path in the graph.
Input:
Output: