sorry if i didnt put my question across properly...
what i want to do is have a function :
createArray(
String type)
{
.........
.........
}
i pass the type of array i want as this parameter(type) of type String, i mean when i call this function i will give the function call:
createArray(new String("int"));
or
createArray(new String("double"));
and my function should create an array of that type....
i hope i was clearer now. I just want to know if this is possible and how do i go about it...
Thanx...
Meera