Podcast
Questions and Answers
What is the return type of a function that does not explicitly return a value in Dart?
What is the return type of a function that does not explicitly return a value in Dart?
- int
- void (correct)
- double
- String
Which of the following is a shorthand syntax for functions that contain a single statement in Dart?
Which of the following is a shorthand syntax for functions that contain a single statement in Dart?
- <=
- >=
- => (correct)
- ->
What is the syntax for a documentation comment in Dart?
What is the syntax for a documentation comment in Dart?
- /// (correct)
- /** */
- //
- /* */