How can I access the mothods of an inner class?


suppse I have:

Code:
public class a()
{
     public class b()
     {
           public void method()
           {
            }
     }
}
how do I create an instance of b()?

When I do create an instance of class b() I simply have

Code:
a.b[] abc = new a.b[5]
(yes its an array)

However when I try to initialize it with

Code:
abc[0] = new a.b()
it doesn't work and it gives me the following error:
an enclosing instance that contains a.b is recquired
whats that supposed to mean?