Can a for statement loop indefinitely?
Answers were Sorted based on User's Feedback
Answer / ranganathkini
Yes a for statement can loop infinitely. Example:
for( ; ; ) {
// ..staements to loop
}
| Is This Answer Correct ? | 10 Yes | 0 No |
What is parameter example?
Define iterator and methods in iterator?
What is called module?
why did you choose your career in IT?
How does static modifier work?
What is the use of isempty in java?
Convert Binary tree to linked list.
What is a blocking method in Java?
If you are given the name of the function at run time how will you invoke the function?
What is a module function?
What is Collection interface?
Why does the integer quotient -0/3 yield 0, but the double quotient -0.0/3.0 yields – 0.0?