View Single Post
  #6 (permalink)  
Old 05-29-2007, 05:34 AM
oubless oubless is offline
Newbie
 
Join Date: May 2007
Posts: 22
Rep Power: 6
oubless is on a distinguished road
Default

Extends:
Code:
class A{
...
}

class B extends A {
...
}
And inner class ( has nothing to do with extends ):
Code:
class A{
  class B{
  }
}
In this case B does NOT extends A, it just resides in A and is refered to as
A.B
Code:
 new A.B();
Reply With Quote