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
How to display arraylist values in java?
How do you find the absolute value?
What is predicate in java?
What is boolean keyword in java?
What is formatted output?
If an application has multiple classes in it, is it okay to have a main method in more than one class?
What is meant by class loader? How many types are there?
How static variable work in java?
What are the elements of java?
Difference between Linked list and Queue?
Is it compulsory for a try block to be followed by a catch block in java for exception handling?
What is substring in java?
Given a singly linked list, determine whether it contains a loop or not without using temporary space?
What is difference between final and finally in java?
What is difference between next () and nextline () in java?