# Var p:Array vs var p:Array = new Array()

**URL:** <https://forum.kirupa.com/t/var-p-array-vs-var-p-array-new-array/213790>\
**Category:** Uncategorized\
**Created:** [January 23, 2007, 7:51am UTC](https://forum.kirupa.com/t/var-p-array-vs-var-p-array-new-array/213790 "2007-01-23T07:51:45Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ayman](https://avatars.discourse-cdn.com/v4/letter/a/dec6dc/32.png) [@Ayman](https://forum.kirupa.com/u/Ayman)\
**Post date:** [January 23, 2007, 7:51am UTC](https://forum.kirupa.com/t/var-p-array-vs-var-p-array-new-array/213790/1 "2007-01-23T07:51:45Z")

</div>

Whats the difference between a variable type, and an object instance, taking the “Array” as an example. Same with “String”. Is there any difference at all??? Why do many people instantiate it with new String() or new Array() ???
