Advertisement
Xesevi

Elm

Jul 6th, 2016
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.23 KB | None | 0 0
  1.  
  2. public abstract class Elm {
  3.   protected String name;
  4.   protected Directory parent;
  5.   public abstract void show();
  6. public Elm(String name) {
  7.     this.name = name;
  8. }
  9. public final void setParent(Directory dir){
  10.     parent = dir;
  11. }
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement