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

Difference between Array and ArrayList? How Array is
benifitful than ArrayList?

Answer Posted / vanitha g

1)An array can be of any data type and contain one data
type while array list can contain any data type in the form
of the object.

2)With array you can not dynamically increase or decrease
the size of array dynamically. You must the define the size
of the array. You can change the size of the array with
redim statement but still you have to define type. While
with array list you can make list of any sizes. When a
element or object is added to array list it size is
automatically increase the capacity of the array list.

Is This Answer Correct ?    27 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the advantages of caching?

990


When cookie will expire?

985


What is mvc in asp.net interview question? : Asp.Net MVC

976


Why we use asp.net for website development?

896


How long do session variables last?

954


Why is mvc better than asp.net?

1057


Why is global asax is used for?

1084


What are the new features added from ASP to ASP.NET?

1084


What is %20 in a url?

903


How long should a session id be?

1031


What is a web api? Which protocol is used in a web api?

1035


What is asp.net file?

1183


Define session in asp.net.

974


Explain the steps needed to be performed in order to create an animation in xaml?

1008


Give 2 examples for scenarios when routing is not applied?

1043