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.

String Length• Static Length – set when the string is created:– Java String, C++ STL string , Ruby String, C# .NET.• Limited Dynamic Length – length can vary between 0and a maximum set when the string is defined:– C/C++ null terminated strings.• Dynamic Length – varying length with no maximum:– JavaScript and Perl (overhead of dynamic allocation/deallocation).• Ada supports all three types:– String, Bounded_String, Unbounded_String.Lecture 0630

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

Saved successfully!

Ooh no, something went wrong!