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

Answer Posted / bhagwat prasad sharma

1+: array is the collection of similer types of elements having same name and sharing a common data type but array list having different data types with different name .

2+: array have predefined size we can not increase or decrease the size at run time but in array list we can do it at runtime the size problem in array is a big problem but this problem solve in array list you can change the size in array list dynamacally .

Is This Answer Correct ?    13 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is an il?

727


What are the steps to follow to host a web application on a web server?

755


Explain the working of passport authentication.

698


How to implement Authentication and Authorization?

742


What are the Types of object in asp

814






What is http protocol and how it works?

695


Explain what is clr?

804


Explain Optimization technique description?

787


Which type of state management is provided by Query String in ASP.NET?

764


What are the differnt types of handler in ASP.NET?

717


Is it possible for me to change my aspx file extension to some other name?

765


What are the new data controls in asp.net 2.0?

694


What is the displayafter property in updateprogress control?

712


What is boxing and unboxing in asp.net?

821


What does the .webpart file do?

760