> I need to solve a program using linked lists...
> the program details are as follows.
> this is a hierarchy of employee and supervisor.
> how will i print the names of the respective
> employees and supervisors whichever i need?
By using the methods specified in the API:
http://java.sun.com/j2se/1.5.0/docs/api/java/util/LinkedList.html