Core Java Interview Questions and Answers
<< Previous Question Next Question >>
 Question: 448 Page Views: 

What is the difference between a break statement and a continue statement?



Posted By: Avi Date: 7 November 2010 08:24:48 PM
 Answer:

A break statement breakes from the loop. A continue statement is used to end the current loop iteration and return control to the loop statement


Posted By: avibtech


Date: 7 November 2010 08:24:48 PM
Post a better Answer if you have
 
(Will show your Gravatar icon)  
  Country flag

Loading
Enter the text as shown in the image 1bFwNd
Related Questions
Core Java : What is a compilation unit?

What is a compilation unit?

A compilation unit is a Java source code file.
Category: Core Java Date: 11/5/2010 2:48:47 AM
Core Java : How are this and super used?

How are this and super used?

this is used to refer to the current object instance. super is used to refer to the variables and me....
Category: Core Java Date: 11/5/2010 2:15:46 AM
Core Java : What is numeric promotion?

What is numeric promotion?

Numeric promotion is the conversion of a smaller numeric type to a larger numeric type, so that inte....
Category: Core Java Date: 11/5/2010 1:20:55 AM
Core Java : What are the restrictions placed on overloading a method ?

What are the restrictions placed on overloading a method ?

Overloading methods must differ in their parameter list, or number of parameters.
Category: Core Java Date: 11/5/2010 12:59:49 AM
Core Java : Which package is always imported by default?

Which package is always imported by default?

The java.lang package is always imported by default.
Category: Core Java Date: 11/5/2010 12:47:55 AM