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
What is the difference between typeof and instanceof operators in Javascript?
How to change the background color of HTML document using JavaScript?
Are namespaces are there in javascript?
What can be the challenges during testing a program or a system?
How can a particular frame be targeted, from a hyperlink, in javascript?
What is the instanceof operator in JavaScript?
List out the different ways an HTML element can be accessed in a Javascript code?
What is the difference between the substr() and substring() functions in javascript?
How do you sort in javascript?
How much do javascript programmers make?
What does dynamic component in javascript contain?
Is array an object javascript?
What is the use of history object?
Public Static Void Main(String args[]) { System.out.in("Hai.."); } In the above code why string args[] is required.... If we are not giving command line argument..
What is event in web programming?