Q. Which keyword is used for function annotations?

  • (A) ->
  • (B) :
  • (C) @
  • (D) #
πŸ’¬ Discuss
βœ… Correct Answer: (A) ->
Explanation: `->` is used in function annotations to specify the return type.
Explanation by: Mr. Dubey
`->` is used in function annotations to specify the return type.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
81
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
94%
Success Rate