what is Difference beetween Array and Hash Table.?

Answer Posted / pkl

An ArrayList behaves just like

an array, except that it will dynamically expand and
contract when you

add/remove elements to it. A HashTable is useful when you
want to

lookup objects indexed by a 'key' value. It also dynamically

expands and contracts but doesn't impose an order on the
elements like

an array does. Put a different way: you index elements in an

ArrayList with a numeric index, you index elements in a
HashTable with

a key. Such a key is often a string.

Is This Answer Correct ?    19 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is .net mobile lists. : Microsoft dot net mobile

468


How to upload in video,mp4,in .net 4.5 ..?

547


Differences between VS 2005, 2008 and 2010 ?

571


What is code access security (cas)?

560


Explain difference between machine config vs. Web config : Dot net architecture

471






Explain a .net mobile example with details? : Microsoft dot net mobile

468


What is an interrupt? : .NET Architecture

465


What is the difference between an application and a program?

483


how to make and display a form without title bar?

1473


What is the use of web.config?

599


What is different about namespace declaration when comparing that to package declaration in java?

551


Explain about clr?

574


inprocess vs out process session state : Dot net architecture

512


difference between Response.write,server.transfer and also which one is used when ?

1456


Explain the components required to develop mobile applications with .net mobile? : Microsoft dot net mobile

454