linked lists the end of the list the while loop uses this condition to terminate itself when it reaches the end of the list figure shows how current steps along the list first next next next next null )before current current next current first next next next next null )after current current next current figure stepping along the list at each linkthe displaylist(method calls the displaylink(method to display the data in the link the linklist java program listing shows the complete linklist java program you've already seen all the components except the main(routine listing the linklist java program /linklist java /demonstrates linked list /to run this programc>java linklistapp ///////////////////////////////////////////////////////////////class link public int idata/data item (keypublic double ddata/data item public link next/next link in list /