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 |
make a method which any number and any type of argument and print sum of that arguments.....
What are the drawbacks of singleton class?
Tell me the difference between an applet and a Japplet?
What are variable names?
What is <> used for in java?
What are other modifiers?
Does substring create a new object?
Write a method to check if input string is palindrome?
Give me an example of array and linked list? Where they can be used?
What is get () in java?
How are variables stored in memory?
how session will be expired ?