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 |
Is space a char?
Can a class with private constructor be extended?
Do we have pointers in java?
How objects are stored in java?
Can arraylist hold different types java?
What do you mean by hashing?
What is the difference between equals() and?
What does pointer mean?
What is hash table in java?
How does the java compiler work?
How to validate the request (Eg:user name and password) in session(http session)? not in LDAP server ?
What is a values collection view ?