Lecture 18
28
getPathName (JFile line 77)
•public String getPathName() {
•   if (this.isRoot()) {
•      return separator;
•   }
•   if (parent.isRoot()) {
•      return separator + getName();
•   }
•   return parent.getPathName() +
•          separator + getName();
•}