⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 linklist.java

📁 this program is about logic and have 4 class. for execute this program use of link list.
💻 JAVA
字号:

public class linkList
{
    public    node first=new node();
    public    node last=new node();
    public    node help=new node();


    public linkList()
    {
       first=null;
      
    }
    public  node add(node temp)
    {


        if(first== null)
        {

            first=temp;
            last=temp;
        }
        else
        {
           help=temp;

           last.next=help;
           help.prev=last;
           last=help;
           help=new node();
        }

       return first;
    }
    
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -