Home / MCQ Bank / Computer
Computer Flow Control

In Java, which loop is suitable when you want to execute a block of code a specific number of times?

Select the best option to verify your answer:
Show Correct Answer
Correct Answer: Option A • for loop

Related Computer Questions

How many priority queue operations are involved in Dijkstra's Algorithm? What datastructures can be used in implementing a free list? Which keyword is the synonym for DATABASE? Among the four PHP DateTimeZone classes given below how many are static? 1. listAbbreviations() 2. getName() 3. getOffset() 4. listIdentifiers() Who developed a mechanical device in the 17 th century that could add, subtract, multiply, divide and find square roots?