Please help me solve this assignment through Java. Note: You should strictly follow the requirement in the attach file "lab.jpg". For the codes, you should strictly follow the pseudocode for the Prim's algorithm in the attach file "lab.jpg

Please help me solve this assignment through Java. Note: You should strictly follow the requirement in the attach file "lab.jpg". For the codes, you should strictly follow the pseudocode for the Prim's algorithm in the attach file "lab.jpg".