# I can't describe what's my problem

**URL:** <https://discourse.processing.org/t/i-cant-describe-whats-my-problem/3289>\
**Category:** Processing for Android\
**Created:** [September 5, 2018, 6:58pm UTC](https://discourse.processing.org/t/i-cant-describe-whats-my-problem/3289 "2018-09-05T18:58:06Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kayno](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/kayno/32/1207_2.png) [@Kayno](https://discourse.processing.org/u/Kayno)\
**Post date:** [September 5, 2018, 6:58pm UTC](https://discourse.processing.org/t/i-cant-describe-whats-my-problem/3289/1 "2018-09-05T18:58:06Z")

</div>

Hi,  
I’m creating an app for fun on my phone and I got that… :

![Screenshot_20180905-205134](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/2X/e/e652850b2e4f4a81a03c54842745aa13fd4dab33.png)

---

<div class="post-metadata">

**Author:** ![GoToLoop](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/gotoloop/32/86_2.png) [@GoToLoop](https://discourse.processing.org/u/GoToLoop)\
**Post date:** [September 5, 2018, 7:11pm UTC](https://discourse.processing.org/t/i-cant-describe-whats-my-problem/3289/2 "2018-09-05T19:11:49Z")

</div>

- `[` means array, `L` means object and `java.lang.String` means String.
- So those are arrays of String objects.
- We can display 1 in Java like this: `System.out.println(new String[] {});`
- Alternatively in Processing like this: `println(new String[] {}.toString());`

---

<div class="post-metadata">

**Author:** ![kfrajer](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/kfrajer/32/196_2.png) [@kfrajer](https://discourse.processing.org/u/kfrajer)\
**Post date:** [September 5, 2018, 7:32pm UTC](https://discourse.processing.org/t/i-cant-describe-whats-my-problem/3289/3 "2018-09-05T19:32:25Z")

</div>

@Kayno You need to review this sticky post: [Guidelines—Tips on Asking Questions](https://discourse.processing.org/t/guidelines-tips-on-asking-questions/2147)

Kf

---

<div class="post-metadata">

**Author:** ![MxFxM](https://avatars.discourse-cdn.com/v4/letter/m/71e660/32.png) [@MxFxM](https://discourse.processing.org/u/MxFxM)\
**Post date:** [September 6, 2018, 8:26am UTC](https://discourse.processing.org/t/i-cant-describe-whats-my-problem/3289/4 "2018-09-06T08:26:49Z")

</div>

Hi.  
It seems like you want to print out the text of some string arrays but you printed the array instead of the strings inside.  
Your code might look like this:

```auto
String[][] somestrings = new String[1][3];
somestrings[0][0] = "hello";
somestrings[0][1] = "im";
somestrings[0][2] = "max";
println(somestrings); // I guess you didn't use println but the idea is the same

```

This should have prints the array instead of the strings.

However you really should use something like this:

```auto
String[][] somestrings = new String[1][3];
somestrings[0][0] = "hello";
somestrings[0][1] = "im";
somestrings[0][2] = "max";
for (int i = 0; i < somestrings.length; i++) {
  for (int j = 0; j < somestrings[i].length; j++) {
    println(somestrings[i][j]); // I guess you didn't use println but the idea is the same
  }
}

```

PS: As I just found out the second for-loop is not strictly necessary in this example.

---

<div class="post-metadata">

**Author:** ![akenaton](https://avatars.discourse-cdn.com/v4/letter/a/a88e4f/32.png) [@akenaton](https://discourse.processing.org/u/akenaton)\
**Post date:** [September 6, 2018, 9:01am UTC](https://discourse.processing.org/t/i-cant-describe-whats-my-problem/3289/5 "2018-09-06T09:01:54Z")

</div>

Yes, of course: but this post has not any reason to be tagged as “android”! - It is exactly the same in Java…
