Strongly typed language
Updated: 11/16/2019 by Computer Hope
A programming language that requires a variable to be defined, and the variable it is. For example, C is a strongly typed language. When declaring the variable, you must also specify the variable type.
In the following example, the test variable is declared as three variable types.
- An integer in the first line.
- A floating point in the second line.
- A character in the third line.
int test = 25; float test = 2.3; char test = 'e';
The opposite of a strongly typed language is a loosely typed language, such as Perl.