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

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