why array is called the collection of similar datatypes?
Answer Posted / 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 View All Answers
How to disable an html object ?
How do I add javascript to chrome?
What does the isNaN() function?
What is the difference between undefined and not defined in JavaScript?
Why would you use a sticky session?
Name some of the ways in which Type Conversion is possible?
Why do we need to declare variables?
What is the default data type in javascript?
What is the importance of javascript?
What is primitive data types in javascript?
Where can I learn javascript for beginners?
How to add a new property in existing function javascript?
List some features of javascript.
What is the instanceof operator in JavaScript?
How do I run javascript in chrome?