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

If you have an application with multiple security levels though secure login and my ASP.NET web appplication is spanned across three web-servers by using round-robbin load balancing. Explain which is the best approach to maintain login-in state for the users?

772


What is state management technique?

722


What is owin authentication?

687


Where is cookie used in asp.net?

765


How to create discussion forum in asp.net mvc? : Asp.Net MVC

731






How does a content page different from a master page?

774


What is session state server?

828


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

671


What r the asp.net list controls and diff. Between them?

693


What is advantage of asp.net?

717


Which is an advantage of application service providers?

655


What is in a session cookie?

700


what are the events raised in asp.net page life cycle?in which stage view state can be loaded?

736


What is the asp.net control toolkit?

750


What is asp.net and how it works?

678