Strongly typed languages

A strongly typed programming language refers to the fact that each of the data types is predefined and tightly coupled with the variables. Take a look at the following variable that's been defined:

int age = 10;

We are declaring a variable and explicitly mentioned the fact that the type of variable is an integer, which makes it very obvious that the variable cannot hold any other data type except an integer. If we try to provide any value that is not an integer, TypeScript will throw an error. TypeScript is also a strongly typed language and, since we write our Angular applications in TypeScript, we can conclude that Angular applications follow strongly typed formats.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.136.25.35