Explain break statement and continue statement?

Answer Posted / ranganathkini

The break statement exits the loop execution and starts
executing the statement just after the loop.

The continue statement stops executing the rest of the
current iteration and starts the next iteration.

Is This Answer Correct ?    26 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do I stop concurrentmodificationexception?

513


When does an object becomes eligible for garbage collection in java?

585


What are the 6 boolean operators?

557


how a programmer confirms that the data submitted has been succesfully inserted into the database(either oracle or my sql).. How a programmer confirm if there is any problem with the program he wrote for insertion... ANS:--- >executeupdate method is having boolean return type, if anything goes wrong in data insertion or data updation, it would return false. otherwise, if it successfully inserts data into the database, it would return true NOW HOW TO I CHECK IN MY DURING EXECUTION WHETHER IT RETURNS TRUE OR FALSE... WELL IT WILL DISPLAY ANY MESSAGE OR NOT

1856


Why multiple inheritance is not supported by java?

516






What is the epoch date?

576


If two threads have same priority which thread will be executed first ?

847


What is the default value of float and double datatype in java?

538


Is overriding possible in java?

510


Can an abstract class be a final class?

531


What is the different types of functions?

563


What is byte value?

559


What are the rules for naming an array?

528


What are the procedures?

610


How do you check if a string is lexicographically in java?

503