# Random Custom Classes

**URL:** https://discourse.processing.org/t/random-custom-classes/15354
**Category:** Coding Questions
**Created:** [November 9, 2019, 4:04pm UTC](https://discourse.processing.org/t/random-custom-classes/15354 "2019-11-09T16:04:21Z")
**Posts on this page:** 1
**Showing post:** 2

<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: [November 9, 2019, 4:11pm UTC](https://discourse.processing.org/t/random-custom-classes/15354/2 "2019-11-09T16:11:43Z")

</div>

> [@cajk24](#):
>
> `Fish[] Betta, Gourami;`

`ArrayList<Fish> fishes = new ArrayList();`

> [@cajk24](#):
>
> `for (i = 0; i < numberBetta; i++) {`  
> `for (i = 0; i < numberGourami; i++) {`

`for (Fish f : fishes) {`

---

_[View the full topic](https://discourse.processing.org/t/random-custom-classes/15354)._
