consider the following code
class A
{
Class B
{
...
}
psvm()
{
B b= new A().new B(); //this one works
B b[]=new A().new B[size]; //compile error
}
how to go about?
consider the following code
class A
{
Class B
{
...
}
psvm()
{
B b= new A().new B(); //this one works
B b[]=new A().new B[size]; //compile error
}
how to go about?