finds itit simply removes it and connects the arrow from the previous link straight across to the following link this is how links are removedthe reference to the preceding link is changed to point to the following link final keypress redraws the picturebut again this just provides evenly spaced links for aesthetic reasonsthe length of the arrows doesn' correspond to anything in the program unsorted and sorted the linklist workshop applet can create both unsorted and sorted lists unsorted is the default we'll show how to use the applet for sorted lists when we discuss them later in this simple linked list our first example programlinklist javademonstrates simple linked list the only operations allowed in this version of list are inserting an item at the beginning of the list deleting the item at the beginning of the list iterating through the list to display its contents these operations are fairly easy to carry outso we'll start with them (as we'll see laterthese operations are also all you need to use linked list as the basis for stack before we get to the complete linklist java programwe'll look at some important parts of the link and linklist classes the link class you've already seen the data part of the link class here' the complete class definitionclass link public int idatapublic double ddatapublic link next/data item /data item /next link in list /public link(int iddouble dd/constructor idata id/initialize data ddata dd/('nextis automatically /set to null/public void displaylink(/display ourself system out print("{idata "ddata "")