CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Threaded View

  1. #1
    Join Date
    Dec 2010

    When should I use interfaces and other times subclasses?

    Say a parrot and an human are both a whistler
    and they also some animals

    but you would have
    class Human extends Animal implements Whistler
    Animal - position 1
    Whistler - position 2
    How do you decide putting which entities at which positions?
    Last edited by lucky6969b; September 4th, 2012 at 03:24 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Windows Mobile Development Center

Click Here to Expand Forum to Full Width

On-Demand Webinars (sponsored)

By using this site, you agree to the Privacy Policy