JAVA SQL matrix

Hi! I want to read a table from Access to Java.
This is the table:http://kepfeltoltes.hu/090221/heights_www.kepfeltoltes.hu_.jpg
I tried to do it with HashMap, but I have a problem, and I don't even know what im doing is right, I have no practice in this, altough I've been trying to find a solution for like a week. I made a class for the column names, like this:

Sorry, I wrote "age" when it should have been "agee".
(It would be better to call it "age" and in the constructor you say
this.age = age; ).
Your simplification breaks the code! agee is an int, and the method returns String. By saying
"something" + someInt
you force the int to be converted to String.
Constructor HeightStats() is not found becuase you haven't created it. Your constructor is HeightStats(int age ...)
Finally, you don't need to do println(hs.toString()); because println automatically does a toString() on whatever you pass to it. Just stick with println(hs);

1. Because when you add the entry to the HashMap you never change index from its initial value of 0.
2. You need to get the values one at a time - eg hs.heightt1, hs.heightt2 etc. You may find this gets easier if you replace those 5 ints by a single array with 5 elements height[0], height[1] etc

Yeah, I know, that would have been my 3. question :)
So instead public int heightt1; public int heightt2; I wrote
public int heightt[] = new int[6]; and instead heightt1=h1; heightt2=h2; I wrote heightt[0]=ht[1]; heightt[1]=ht[2];....but what should i do with this line:

Thank you.
1. And now how can I print out an element, like the bold number in my previous post?
2. How can I alter the elements, like adding a certain number to all?
3. Is there any other way to handle the matrix like the usual

for (int i=0; i<6; i++)
{
for (int j=0; j<5; j++)
{
}
}
I would like to move elements from a row to another and a lot of things, and with this solution it seems pretty difficult.

3. Don't understand question. If you want to do complicated math on whole matrices, you'll find a load of Java packages you can get from the web to do it for you. Google is your friend!
In general, arrays are an essential basic part of any programming language. Look for some tutorials on the web, and give it a go. Once you get the hang of it, it's really easy.

I have a 2d matrix with dimension (3, n) called A, I want to calculate the normalization and cross product of two arrays (b,z) (see the code please) for each column (for the first column, then the second one and so on).
the function that I created to find the ...

Write a C program that should create a 10 element array of random integers (0 to 9). The program should total all of the numbers in the odd positions of the array and compare them with the total of the numbers in the even positions of the array and indicate ...