Hi Spudgun2005,
Let us look at flaws in the code :
1. I cannot see declaration of testArray[] anywhere with mention of its type (if type = classA or so) . Seems from the incomplete code in constructor below , it returns a string type.
2. public classA(String Test, int Test2, String Test3) is a constructor and constructors do not return any type so it cannot return String for
testArray[none] = new classA(("1234"+none),27+none,"help");
3. Arrays are not declared the way you have done . Please refer to some good book.
Hope it helps .
Thanks,
Prasad
Thanks,
Prasad
|