Thursday, April 12, 2012

What is Strongly Typed.


  1. This means that the data type, is predefined, which prevents programmers to invent and add new data type, to enforce this the language compiler comes in play, it takes care of checking the typed at the compile time only.
  2. In more clear way we can say that the programming language is strongly typed if it does not allows to define a variable with a data type, we can take and example of c, in which whenever we declare a variable we need to specify its data type also e.g.: int a, char b, but some other languages are loosely typed as we can just give var a, or $var  which can hold any data type assigned.
  3. One more explanation is that in strongly typed the data type is checked at compile time but in loosely typed this done at runtime.
For more details please watch these videos…..

No comments:

Post a Comment

Live

Your Ad Here