There are different methods for creating an array. One such method is to first declare an empty array and then insert item in it.