10.07.2015 Views

Data Types & Type Checking - Ace

Data Types & Type Checking - Ace

Data Types & Type Checking - Ace

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Array Categories• Heap-dynamic: binding of subscript ranges and storageallocation is dynamic and can change any number of times:– Advantage: flexibility, as arrays can grow or shrink during programexecution.– Examples:• C#:ArrayList intList = new ArrayList();intList.add(nextOne);• Java has a similar class, but no subscripting (use methodsget()/set() instead).• Perl, JavaScript, Python, RubyLecture 0613

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!