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
Explain the advantages of caching?
When cookie will expire?
What is mvc in asp.net interview question? : Asp.Net MVC
Why we use asp.net for website development?
How long do session variables last?
Why is mvc better than asp.net?
Why is global asax is used for?
What are the new features added from ASP to ASP.NET?
What is %20 in a url?
How long should a session id be?
What is a web api? Which protocol is used in a web api?
What is asp.net file?
Define session in asp.net.
Explain the steps needed to be performed in order to create an animation in xaml?
Give 2 examples for scenarios when routing is not applied?