Which of the following is a valid GraphQL data type?

Which of the following is a valid GraphQL data type?

a) INT
b) BOOL
c) Float
d) StringArray

Answer:

c) Float

Explanation:

GraphQL has a set of built-in scalar types, including Float for floating-point numbers, as well as other types like String, Int, and Boolean.

Reference:

GraphQL Quiz – MCQ – Multiple Choice Questions

Scroll to Top