How do you declare an infinite loop?
Answers were Sorted based on User's Feedback
Answer / nashiinformaticssolutions
for (;;)
{
// Statements to execute
// Add any loop breaking logic
}
Is This Answer Correct ? | 0 Yes | 0 No |
for (;;)
{
// Statements to execute
// Add any loop breaking logic
}
Is This Answer Correct ? | 0 Yes | 0 No |
What does microservices mean?
What is an abstract class?
Can we sort array in java?
What does string intern() method do?
Is null in java?
What do you mean by local variable and instance variable?
What is callablestatement? How you can call stored procedure to pass in parameter?
Why pass by reference is not possible in java?
What is difference between calling start() and run() method of thread?
What is a variable and constant?
What is Locale class?
What is not thread safe?