As far as I know, "instanceof" checks do *not* work with interfaces. That's
what "is" is for. "is" works for both classes and interfaces.

new B() instanceof A => true
new B() instanceof IA => false (or even compile error?)
new B() is A => true
new B() is IA => true


On Thu, Nov 14, 2013 at 7:18 PM, OmPrakash Muppirala
<bigosma...@gmail.com>wrote:

> This might be related to [1] as well.
>
> Thanks,
> Om
>
> [1] https://issues.apache.org/jira/browse/FLEX-33780
>
>
> On Thu, Nov 14, 2013 at 9:39 AM, Erik de Bruin <e...@ixsoftware.nl> wrote:
>
> > Thanks. On it.
> >
> > EdB
> >
> >
> >
> > On Thu, Nov 14, 2013 at 6:37 PM, Michael A. Labriola
> > <labri...@digitalprimates.net> wrote:
> > >>If class B extends class A and class A implements interface IA, does
> > class B also implement IA? In other words, in this scenario, does (B is
> IA)
> > return true?
> > >
> > > Yep
> > >
> > >
> >
> >
> >
> > --
> > Ix Multimedia Software
> >
> > Jan Luykenstraat 27
> > 3521 VB Utrecht
> >
> > T. 06-51952295
> > I. www.ixsoftware.nl
> >
>

Reply via email to