August 2000
Beginner
456 pages
9h 24m
English
When data is being defined in a programming language, there are two general strategies that can be employed. The difference between the two is the malleability of variables. In a strongly typed language, variables are declared to be of a certain type, and that type is maintained within fairly rigid rules. For example, take the following declaration in the Java programming language:
int myInt;
myInt is a signed integer type occupying 32 bits of storage. Other data types can be assigned to myInt, but only when the other data types can be converted into an int without loss of information. Furthermore, myInt itself is never altered from the declared type.
In a weakly typed language, there are no formal declarations ...
Read now
Unlock full access