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 |
Which variables are stored in heap?
Can we serialize arraylist in java?
Why do we need autoboxing in java?
Can I overload to string method
What is += mean in java?
What class allows you to read objects directly from a stream?
worst case complexities of Quick sort and Merge sort.
Java is based on pass by reference or pass by value ..
Can we create more than one object singleton class?
if i have one string class then how can you achive this class functionality of this class?
Can a set contain duplicates?
What is an abstract method in java programming?