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 |
Does apple use java?
what is difference between method overloading & method overridding with example?
What is the difference between compare and compareto in java?
What is a default package ?
what is the difference between process and thread? : Java thread
what is the JNDI?
What is the difference between a checked and an unchecked exception?
How to read and write image from a file ?
What are constructors in java?
What does i ++ mean in Java?
Can a method be static?
What are meta-annotations?