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 the purpose of assert keyword used in jdk1.4.x?
What are basic data types?
Where is the find and replace?
What is inner class?what is the use of inner class?where we create the object for inner class? and inner class can extend any class or inner class can implement any interface?
What are synchronized methods ?
Difference between String and String Buffer?
What is a substring of a string?
What happens when you assigned a 'double' value to a 'String'?
What is the difference between delete and delete[]
How do I type unicode?
What is derived datatype?
What is the difference between numeric and integer?