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

Is string a data type in java?

601


What is the java reflection api? Why it’s so important to have?

567


How many bits are used to represent unicode, ascii, utf-16, and utf-8 characters in java programming?

571


When can an object reference be cast to an interface reference in java programming?

590


What is java reflection?

547






How do you reverse sort in java?

514


What is r * in math?

560


How do you add an element to a set in java?

506


What is t type java?

632


Which of the classes will have more memory allocated?

551


What is an 8 bit word?

601


What is the largest long allowed by java?

545


Can It is possible to synchronize the constructor of a Java Class?

608


Explain about static nested classes in java?

615


Define Multiprogramming and Multiprocessing in java.

588