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
Is it possible to change the index of primary key on table?
Explain weak typing and strong typing.
What are different methods of session maintenance in asp.net?
What is loop in asp.net?
How does exception management works in ASP.NET?
What is the procedure to handle the process request using mhpm events fired? : asp.net mvc
How can you use a custom controls in ASP.NET application?
What is asp.net web application?
What is cache in asp net?
Differentiate between a page theme and a global theme?
What is asp short for?
What is difference between session and cookies in asp net?
Which tool you have done?
What are type/key pairs in client script registration?
How ASP and ASP.NET page works? Explain about asp.net page life cycle?