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

Answer Posted / bala

Array:
Fixed size and it strongly type collection so it can not use boxing and unboxing.

Arraylist:
Flexible sise and it should strongly type collection.Then it allowed to store various data type.it can use boxing and unboxing so it be slowness for comparing to array

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain Features in ASP.NET

657


3. What goals do you have in your career?

1501


What is a user developed application?

614


What are the options in ASP.NET to maintain state?

714


What tags do you need to add within the asp:datagrid tags to bind columns manually? How?

591






In which event are the controls fully loaded?

658


What are validators and list some validators of asp.net?

629


What is cookies in asp net?

621


Can you explain the basic use of dataview?

724


Define secured sockets layer.

604


How would you turn off cookies on a page of a website?

582


Explain parts of assembly?

638


What is the life cycle of an asp.net page?

608


What are url fragments?

586


To display data in the combo box, prior to setting the Data Source, what kind of property on a Combo Box do you set with a column name?

699