πŸ“Š Ruby
Q. Which of the following is true about optional parameters in Ruby methods?
  • (A) They must be specified during method definition
  • (B) They have default values assigned
  • (C) They are always required
  • (D) They cannot be used with block parameters
πŸ’¬ Discuss
βœ… Correct Answer: (B) They have default values assigned

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

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