Advertisement
Sylv3rWolf

doLab3Element

Oct 19th, 2015
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.28 KB | None | 0 0
  1. public class Element {
  2.     int dane;
  3.     Element next;
  4.  
  5.     public Element (int x, Element n)
  6.     {
  7.         dane=x;
  8.         next=n;
  9.     }
  10.     public Element getNext()
  11.     {
  12.         return next;
  13.     }
  14.     public int getWartosc()
  15.     {
  16.         return dane;
  17.     }
  18.    
  19. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement