Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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 number in javascript?

873


How generic objects can be created?

944


What is the syntax of ‘self invoking function’? Give an example?

978


Mention what is the disadvantage of using innerhtml in javascript?

1015


Does javascript support foreach loop?

1009


What are the valid scopes of a variable in JavaScript?

1030


What is the use of the ‘this’ keyword?

1017


Why are callbacks used?

890


What is difference between var x =1; and x=1;?

1109


What's Prototypes for JavaScript

2203


How can javascript language be separated from objects?

954


Why it is not advised to use innerhtml in javascript?

941


Which built-in method returns the character at the specified index?

1260


Is there any ide for javascript?

989


What is the use of 'bind' method in JavaScript?

1044