> Could someone please explain to me why the code > Runnable run = new Runnable() works? I used to believe that interfaces where implicitly abstract and therefore could not be instantiated; only implemented. Is Object somehow involved in this???
> Thanks, > Shaul
It can't work. You are most likely seeing a bug. In jdk1.3, it doesn't work: Class1.java:7: java.lang.Runnable is abstract; cannot be instantiated Runnable runnable = new Runnable(); ^ 1 error