I have written a class like this -
class foo
{
int t, b;
foo(int a, int b)
{
this.a = a; this.b = b
}
foo(){}
}
now I want to create an array of objects. what is the difference between this two-line-
foo[] ab = new foo[100];
foo ab[100] = new foo[100];