You can declare the array in three ways there are by literal,using the array constructor,creating instance of array directly..