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 the difference between typeof and instanceof operators in Javascript?

1063


How to change the background color of HTML document using JavaScript?

859


Are namespaces are there in javascript?

946


What can be the challenges during testing a program or a system?

2162


How can a particular frame be targeted, from a hyperlink, in javascript?

979


What is the instanceof operator in JavaScript?

910


List out the different ways an HTML element can be accessed in a Javascript code?

1163


What is the difference between the substr() and substring() functions in javascript?

915


How do you sort in javascript?

990


How much do javascript programmers make?

847


What does dynamic component in javascript contain?

943


Is array an object javascript?

876


What is the use of history object?

1569


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..

1980


What is event in web programming?

868