FahimFaisal

Node

Feb 9th, 2020
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.39 KB | None | 0 0
  1. /*
  2.  * To change this license header, choose License Headers in Project Properties.
  3.  * To change this template file, choose Tools | Templates
  4.  * and open the template in the editor.
  5.  */
  6. package LinkedList;
  7.  
  8. /**
  9.  *
  10.  * @author acer
  11.  */
  12. public class Node{
  13.   public Object element;
  14.   public Node next;
  15.  
  16.   public Node(Object e, Node n){
  17.     element =e ;
  18.     next = n;
  19.    
  20.   }
  21.  
  22. }
Add Comment
Please, Sign In to add comment