Which of the following is not a primitive data type in TypeScript?A. stringB. numberC. booleanD. class
Question
Which of the following is not a primitive data type in TypeScript?A. stringB. numberC. booleanD. class
Solution
The answer is D. class. In TypeScript, class is not a primitive data type. The primitive data types in TypeScript are string, number, and boolean.
Similar Questions
Which of the following is NOT a primitive data type in JavaScript?
Which of the following is NOT a primitive data type in Java? A. short B. char C. String D. boolean
Which of the following is not a type assertion in TypeScript?
Which of the following is not a primitive data type in Java?booleancharStringfloat
Which of the following is not a primitive data type in JavaScript?Group of answer choicesNumberStringBooleanArray
Upgrade your grade with Knowee
Get personalized homework help. Review tough concepts in more detail, or go deeper into your topic by exploring other relevant questions.