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 do “1”+2+4 evaluate to?
what is a difference of subclass and main class
How to test 404 page in QA
Which software is best for javascript?
How Can I get facebook fans/likes?
Explain window.onload and ondocumentready?
What are the different boolean operators in JavaScript?
How do you add an element at the end of an array?
What's math constants and functions using javascript?
What will be the output of the following statements?
What is decodeuri() in javascript?
What is javascript bom?
The below script is working Internet browser but not working in mozilla plz find that good way... function doSubmit(op){ var rowcount=document.getElementsByName ("parameterTypeId").length; var parameterGrade; var performance; var goal; if(op == "save"){ for (var i=0; i < rowcount; i++) { var param=eval("document.forms [0].parameterGrade"+i); if(param.value != "select"){ return true; } } alert("Please rate atleast one attribute"); return false; }//if ends here
How to remove duplicates from javascript array?
Can javascript code be broken in different lines?