daily pastebin goal
5%
SHARE
TWEET

Untitled

a guest May 20th, 2018 79 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. package ooo;
  2.    
  3. public int data;
  4. public Node next;
  5.  
  6. public Node(int data, Node next) {
  7.     this.data = data;
  8.     this.next = next;
  9.  
  10. }
  11.    
  12. package ooo;
  13.    
  14. public static void main(String[] args) {
  15.     Node a = new Node(1,null);
  16.     System.out.println(a.data);
  17. }
  18.    
  19. LinkedList<Node> linkedlist = new LinkedList<Node>();
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top