class Floyd{ final static int INF = 9999,V = 4; void floydWarshal(int graph[][]){ int dist[][] = new int[V][V]; int i,j,k; for(i=0;i