Q. Which keyword is used to define a block in Ruby?

  • (A) block
  • (B) do
  • (C) None of the above
  • (D) block
πŸ’¬ Discuss
βœ… Correct Answer: (B) do

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

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