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

how to write html code with ssl

1530


Can we have a web application running without web.config file?

530


How can you make sure that web api returns json data only?

522


What is the latest version of asp.net?

541


What is the used of "ispostback" property?

573






What are server side controls?

541


What is a multilingual website?

570


What do you mean by serialize and marshalbyref?

575


What is state management react?

518


How can you access the properties and controls of master pages from content pages?

524


What is the difference between debug and release?

528


Is there any alternative to avoid name collisions other then Namespaces?

575


Is global asax mandatory?

559


What is page fragment caching?

561


What is autopostback in asp net?

593