Can a for statement loop indefinitely?

Answer Posted / ravikiran(aptech mumbai)

yes for(;;)

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write a regular expression to validate a password. A password must start with an alphabet and followed by alphanumeric characters; its length must be in between 8 to 20.

583


What is the difference between jfc & wfc?

589


What are the two types of java programming?

533


What is the difference between I ++ and ++ I in java?

503


What's the difference between comparison done by equals method and == operator?

541






What do you mean by multithreaded program?

547


What is the use of object and class classes?

563


What is a finally block? Is there a case when finally will not execute?

544


What are the differences between checked exception and unchecked exception?

524


What exactly is methodology?

476


How do you do exponents in java?

534


What is the difference between post and put?

533


Can java object be locked down for exclusive use by a given thread?

578


how its run?

561


What is the synchronized method modifier?

583