Home / MCQ Bank / Computer
Computer Enumerators And Iterators In Ruby

What is the purpose of the times method in Ruby enumerators?

Select the best option to verify your answer:
Show Correct Answer
Correct Answer: Option A • Executes a block of code a specified number of times

Related Computer Questions

Which function is used to compare two strings in C? What is the worst case analysis of an AA-Tree? What will be the output of the following C# code? static void Main(string[] args) { int i, j; for (i = 1, j = i; i <= 3 && j >= 0; i++, j--) { if (i == j) continue; else Console.WriteLine(j); } Console.ReadLine(); } Are generics in C# are same as the generics in java and templates in C++? What is the default value of an integer variable in C# if not explicitly initialized?