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
Write JavaScript code to use file system in binary format?
How to write html code dynamically using JavaScript?
Is webassembly faster than javascript?
How to Object.entries( ) In JavaScript ?
How to find operating system in the client machine using javascript?
What is the use of decodeuri() and encodeuri()?
What are associative arrays in javascript?
List different ways of empty an array in javascript?
What do you mean by script?
Explain promise in javascript?
How to print a web page using javascript?
How do you declare a variable in javascript?
Where do you put javascript in html?
What is external javascript?
Define a named function in javascript.