Search:

Type: Posts; User: jrahhali

Search: Search took 0.18 seconds.

  1. Re: How would you design the relationship between these two classes?

    What you said makes sense. Thanks a lot for the help, copeg.
  2. Re: How would you design the relationship between these two classes?

    @copeg. So you think that the best solution would be to instantiate an object of Baby within Adult to get code re-use? I think your reasoning that there is a child inside us all is creative. IMO,...
  3. How would you design the relationship between these two classes?

    Say you had these two classes:


    public class Adult {
    public void crawl() {...}
    public void walk() {...}
    public void run() {...}
    }

    public class Baby {
Results 1 to 3 of 3