# Declare variable without initialising?

**URL:** <https://forum.arduino.cc/t/declare-variable-without-initialising/945139>\
**Category:** Programming\
**Created:** [January 9, 2022, 5:33pm UTC](https://forum.arduino.cc/t/declare-variable-without-initialising/945139 "2022-01-09T17:33:46Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![BanksySan](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/banksysan/32/676763_2.png) [@BanksySan](https://forum.arduino.cc/u/BanksySan)\
**Post date:** [January 9, 2022, 6:01pm UTC](https://forum.arduino.cc/t/declare-variable-without-initialising/945139/4 "2022-01-09T18:01:58Z")

</div>

I'm coming from a easier languages than C. In .NET, Java or JavaScript I would call that thing a variable (or a constant if it's declared as such). In those languages, if I declare that token, without explicitly giving it a value then the value will be whatever `default` is, i.e. `0` for numbers, `false` for booleans, `null` for reference types etc.

What I want is to declare the token that I would use to access the instance of `CommandHandler` as global, but only instantiate the object in the `setup()` method.

What's the correct name for that token?

---

_[View the full topic](https://forum.arduino.cc/t/declare-variable-without-initialising/945139)._
