1 2 Previous Next 16 Replies Latest reply on Dec 20, 2008 8:14 AM by 807589

    How to access elements of an Abstract Class?

      I was wondering if I have an abstract class like this:

      public abstract class AbsractServer
      protected String name;
      protected String location;
      public AbstractServer(String serverName, String serverLocation){ }

      is there a way i can access any of the strings in there using a method like this

      public Server[] findServers(Server[] AbstractServer)

      can that be done?
        1 2 Previous Next