98-372 · Question #79
In your C# version, every variable must have an explicit data type. What is the name of this language feature?
The correct answer is B. Strong typing. In computer science and computer programming, a type system is said to feature strong typing when it specifies one or more restrictions on how operations involving values of different data types can be intermixed. The opposite of strong typing is weak typing. Strong name is a…
Question
In your C# version, every variable must have an explicit data type. What is the name of this language feature?
Options
- AType safety
- BStrong typing
- CCoercion
- DType casting
How the community answered
(48 responses)- A8% (4)
- B85% (41)
- C4% (2)
- D2% (1)
Explanation
In computer science and computer programming, a type system is said to feature strong typing when it specifies one or more restrictions on how operations involving values of different data types can be intermixed. The opposite of strong typing is weak typing. Strong name is a name consisting of an assembly's identity, public key, and digital signature. It includes the assembly's name, version number, and other related information (if any). Assemblies are identical, if they have the same strong name. In your C# version, every variable must have an explicit data type. The name of this language feature is called strong typing. Answer: D and C are incorrect. In computer science, type conversion, typecasting, and coercion refer to different ways of, implicitly or explicitly, changing an entity of one data type into another. Answer: A is incorrect. In computer science, type safety is the point to which a programming language discourages or prevents type errors. A type error is erroneous or undesirable program behavior caused by a discrepancy between differing data types.
Topics
Community Discussion
No community discussion yet for this question.