Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


Explain break statement and continue statement?

Answers were Sorted based on User's Feedback



Explain break statement and continue statement?..

Answer / 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

Explain break statement and continue statement?..

Answer / shambhu kumar

The break keyword halts the execution of the current loop
and forces control out of the loop.

The continue is similar to break, except that instead of
halting the execution of the loop, it starts the next
iteration.

Is This Answer Correct ?    16 Yes 2 No

Explain break statement and continue statement?..

Answer / ravikiran(aptech mumbai)

break statement will through you out of the loop.
where as continue will aboandon the current iteration and
will make you to continue with next iteration

Is This Answer Correct ?    10 Yes 2 No

Post New Answer

More Core Java Interview Questions

What is final?

0 Answers  


How to stop a thread in java? Explain about sleep () method in a thread?

0 Answers  


What do you meant by active and passive objects?

0 Answers   Wipro,


What is externalizable interface?

0 Answers  


What happens if an exception is not caught?

6 Answers   Amazon,


List out five keywords related to exception handling ?

0 Answers  


What is difference between final and finally in java?

0 Answers   Cyient,


Explain why wait(), notify() and notifyall() methods are in object class rather than in thread class?

0 Answers  


What does a za z0 9 mean?

0 Answers  


What are "class access modifiers" in Java?

0 Answers   Genpact,


What is the name of the java compiler?

0 Answers  


What are the characteristics of Final,Finally and Finalize keywords.

0 Answers   Flextronics,


Categories