why array is called the collection of similar datatypes?



why array is called the collection of similar datatypes?..

Answer / guest

Array is called the collection of similar datatypes because
we can not add an object of some other type where as the
array which is declared is of another type.
For e.g
We declare a Integer array then we can not add an object of
type string into that array.We have to add an object of type
string only.

Is This Answer Correct ?    7 Yes 1 No

Post New Answer

More JavaScript Interview Questions

Explain javascript accessors ?

0 Answers  


Can we create session in javascript?

0 Answers  


Which javascript framework is in demand?

0 Answers  


Is a javascript script faster than an asp script?

0 Answers  


What is string in javascript?

0 Answers  






coding of java scripts

0 Answers   Oracle,


How to convert “20” to number in javascript?

0 Answers  


What does clean white space mean?

0 Answers  


How to associate functions with objects using javascript?

0 Answers  


Explain escape() in javascript?

0 Answers  


What are the pop-up boxes available in javascript?

0 Answers  


Is a hash table an array?

0 Answers  


Categories