H13-711_V3.5 · Question #321
Which languages supported by the Flink stream data processing interface Datastream API include? (Multiple choice)
The correct answer is B. Java D. Scala. Java and Scala are the two languages natively supported by Flink's DataStream API, as the entire Flink runtime is built on the JVM - both languages compile to JVM bytecode and integrate seamlessly with Flink's core type system, operators, and execution model. Scala support was…
Question
Which languages supported by the Flink stream data processing interface Datastream API include? (Multiple choice)
Options
- APython
- BJava
- CC language
- DScala
How the community answered
(54 responses)- A6% (3)
- B85% (46)
- C9% (5)
Explanation
Java and Scala are the two languages natively supported by Flink's DataStream API, as the entire Flink runtime is built on the JVM - both languages compile to JVM bytecode and integrate seamlessly with Flink's core type system, operators, and execution model. Scala support was included from Flink's earliest versions because its functional programming style maps naturally to stream transformation pipelines.
Why the distractors are wrong:
- Python (A): While PyFlink later added DataStream API support (Flink 1.12+), the original and primary DataStream API targets JVM languages. Many exam questions and curricula treat Python as a Table API citizen, not a first-class DataStream API language.
- C (C): C has no official Flink support at all - Flink provides no C SDK, bindings, or runtime integration.
Memory tip: Think "Flink = JVM" - Java and Scala both live on the JVM, which is Flink's native home. If a language doesn't run on the JVM, it's not part of the core DataStream API. You can remember "Java + Scala = JS on the JVM" to lock in the two correct answers.
Topics
Community Discussion
No community discussion yet for this question.