How to create arrays with dynamic names

I dont know if this is possible but i want to be able to creat arrays dynamiclly by the name and size. I understand how to do the size. But everytime i try to create an array name by a variable i get an error saysing that there are two local variables. how can i get around
[300 byte] By [Ground.Zeroa] at [2007-11-26 20:38:50]
# 1
Map < String, Object[] > ?
DrLaszloJamfa at 2007-7-10 1:55:59 > top of Java-index,Java Essentials,New To Java...
# 2
Thanks could you be more specific i am very new to java..
Ground.Zeroa at 2007-7-10 1:55:59 > top of Java-index,Java Essentials,New To Java...
# 3

http://java.sun.com/docs/books/tutorial/collections/index.html

Demo:

import java.util.*;

public class MapExample {

public static void main(String[] args) {

Map < String, Object[] > m = new HashMap < String, Object[] > ();

Object[] stuff = {"Hello", "World"};

m.put("greeting", stuff);

Object[] back = m.get("greeting");

for(Object x : back) {

System.out.format("%s ", x);

}

System.out.println();

}

}

If you are new to Java, I think you may want to find a more basic solution.

What is your goal? What are you trying to do? Explain. Give details.

DrLaszloJamfa at 2007-7-10 1:55:59 > top of Java-index,Java Essentials,New To Java...
# 4
Well I want a user to be able to create as many Int arrays as they want and call them whatever they want. And then be able able to populate them.
Ground.Zeroa at 2007-7-10 1:55:59 > top of Java-index,Java Essentials,New To Java...
# 5
Okay, Map can do that, go for it. That sounds ambitious for a beginner,so I think we'll see you later, here :-)
DrLaszloJamfa at 2007-7-10 1:55:59 > top of Java-index,Java Essentials,New To Java...
# 6
DrLaszloJamfThanks you have been a lot of help.. I guess i better start reading. You sure will see me here later on.
Ground.Zeroa at 2007-7-10 1:55:59 > top of Java-index,Java Essentials,New To Java...