Strongly Typed Environment

In a strongly typed environment, every variable explicitly assigned a datatype when it is declared. Only data accommodated by the assigned datatype is allowed to be stored in a variable. Therefore strongly typed environment can ensure type safety. Strongly typed environment a assigns and allocates memory to a variable that can accommodates only the data type assigned to that variable. This makes a strongly type environment much more efficient than a loosely typed environment

Note : Type Safety: Type safety means environment can guarantee that there is only a particular type of data in a location memory or in a given time.

Ebook Download
View all
Learn
View all