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 |
What creates scope in javascript?
What is callback in javascript?
What's the Difference Between Class and Prototypal Inheritance?
How to shift and unshift using javascript?
What are arrays in javascript?
What is NaN?
How to handle event handlers?
what is syntax of wapper class
What is the role of javascript in html?
Why do we need hoisting in javascript?
Explain mul function in javascript?
Difference Between JavaScript and ECMAScript?