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


Please Help Members By Posting Answers For Below Questions

what is function of stdio.h

2139


Explain how can you submit a form using JavaScript?

560


What does trim stand for?

565


Is jquery easier than javascript?

553


Is not a function error in javascript?

583






Should I disable javascript?

565


I need project details about WEB CONTENT FILTERING USING NEURAL NETWORKS and how to explain it....plz help me in this topic.....

1774


Why is currying called currying?

533


Is it safe to use javascript?

584


What does ecma stand for?

521


Where do you write javascript?

553


Is javascript insecure?

582


How to import all exports of a file as an object.

587


Why do we need hoisting in javascript?

553


What is array constructor in javascript?

581