# Mixed Datatype Arrays

**URL:** <https://discourse.processing.org/t/mixed-datatype-arrays/14673>\
**Category:** Beginners\
**Created:** [October 13, 2019, 10:32pm UTC](https://discourse.processing.org/t/mixed-datatype-arrays/14673 "2019-10-13T22:32:27Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![KeirMeDear](https://avatars.discourse-cdn.com/v4/letter/k/8c91f0/32.png) [@KeirMeDear](https://discourse.processing.org/u/KeirMeDear)\
**Post date:** [October 13, 2019, 10:32pm UTC](https://discourse.processing.org/t/mixed-datatype-arrays/14673/1 "2019-10-13T22:32:27Z")

</div>

Is there a way to have various datatypes in one array? Checking online it says to initialise as an Object type but that doesn’t seem to work with processing. Can’t seem to find anything in the docu either

The Goal:

datatype[][] arrayA = {“hello”,1,2,3.5};

---

_[View the full topic](https://discourse.processing.org/t/mixed-datatype-arrays/14673)._
