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 |
string is immutable? right every one knows that, my question is it advantage or disadvantage making string immutable?
Is there any sort function in java?
What is thread safe in java?
What is unicode used for?
Why is the main method declared static?
when we have to use final class in java?
What are the allowed, non-Unicode letter characters that can be used as the first character of an identifier?
Explain the importance of throws keyword in java?
What is member in java?
Can private class be inherited in java?
What is increment in java?
What is functional interface in java?