What is Type Safety? How does Type Safety affect us? Why is Type Safety Important? Writing Type-Safe Code. in what scenario we can achieve type safety?
Asked
Active
Viewed 573 times
1 Answers
0
Type safety is checking for matched data types during compile time. For example int a ="John" returns error as variable 'a' is an integer and we are assigning a string value. These data type mismatches are checked during compile time.

user2965957
- 17
- 10