Re: [Tutor] class with objects

2009-10-11 Thread Alan Gauld
wrote I want to display the ship default value for zero and display the ship's initial fuel level. Also have a method called status that displays an object's name and fuel values. So far so good. I want to have several Ship objects and call their status() methods to test various aspect

Re: [Tutor] class with objects

2009-10-11 Thread Wayne
On Sun, Oct 11, 2009 at 2:42 PM, shellc...@juno.com wrote: > I want to display the ship default value for zero and display the ship's > initial fuel level. Also have a method called status that displays an > object's name and fuel values. I want to have several Ship objects and call > their statu

[Tutor] class with objects

2009-10-11 Thread shellc...@juno.com
I want to display the ship default value for zero and display the ship's initial fuel level. Also have a method called status that displays an object's name and fuel values. I want to have several Ship objects and call their status() methods to test various aspects of the class constructor. He