•ls -f on mars appends
–“/” for directory listing (e.g. hw5 in cs110)
–“@” for symbolic link (e.g. cs110 in your home)
–“*” for an executable file (e.g. mkdir in /bin)
– (on Unix many commands are really files)
–no suffix for ordinary text
files, class files, ...
•We want JFiles to behave this way
•Ask a JFile to tell you its suffix by sending it a getSuffix message
•getSuffix is abstract in JFile.java