4 Replies Latest reply on Feb 12, 2004 7:24 AM by 807582

    Object and class relationship

      first of all, I have a class called appointment that have get variable(such as Time, Date and STring)method in it, and I have a second class called ListArrayBased. Inside, I have a method that can return an Object.

      Appointment abc = new Appointment(Time, Date, String)
      is ok...

      ListArrayBased def = new ListArrayBased()
      ok...here is the question...how can I get the variable/things inside the object
      I can't go for...object.getTime() inside the ListArrayBased class to retrieve the Time variable inside the object...what can I do...