I'm almost positive this question has been asked before, as I'm sure I'm not the first person to have this problem, but I don't know the right search words to get my answer, so if you could point me in the right direction, I'd really appreciate it. 

I have an Object in a Java class, that when I mouse over, says:

```
variableName = Object[6]
  >[0] = "words in here"
  >[1] = "a few more words"
  >[2] = float
  >[3] = float
  >[4] = integer
  >[5] = integer

```

I want to print out "words in here" and get the value of the integer in [5]. How do I do this? I've tried a couple of things like

```
String whatsNeeded = variableName[0];
String whatToGet = variableName.toString();

```

But neither of those get what I want. In fact, variableName[0] gives me an error, and variableName.toString() prints [Ljava.lang.Object;@*blahblah*

Any tips on how to get the fields I want? Thanks!!