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

Which javascript framework is in demand?

0 Answers  


What is Unobtrusive JavaScript & Why it's Important?

0 Answers  


What is the function of deferred scripts?

0 Answers  


What would you use javascript for?

0 Answers  


What is a module in javascript?

0 Answers  






Is javascript insecure?

0 Answers  


What is the difference between undefined value and null value?

0 Answers  


In javascript chained select menus are available.first select menu is worked and others are disabled.when we select any one option then the next select menu will worked having option releated to selcted in first select menu.How it possible? what is the coading of this programme?

1 Answers  


Explain what is javascript? List some data types supported by javascript?

0 Answers  


Consider the following code: 1 2 3 4 5 (function() { var a = b = 5; })(); console.log(b); what will be printed on the console?

0 Answers  


What is the difference between "var" and "let" keywords?

0 Answers  


What is null variable?

0 Answers  


Categories