volume_mute

Choose the languages that use context to infer variable type

publish date2022/09/04 03:16:00 GMT+10

volume_mute
Visual BASIC 9.0+
Go
ML
Haskell
OCaml
F#

Correct Answer

(1) Visual BASIC 9.0+
(2) Go
(3) ML
(4) Haskell
(5) OCaml
(6) F#

Explanation

In functional languages ML, Haskell, OCaml, and F#, the context of the appearance of a name is the basis for determining its type.

Reference

Concepts of Programming languages, 10th ed


Quizzes you can take where this question appears