Explain break statement and continue statement?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

What is object-oriented programming?

563


What is nullpointerexception in java?

519


What is an example of procedure?

510


How do you use compareto?

542


What is linked hashset and its features?

541






Explain about core java?

618


Write a program in java to establish a connection between client and server?

502


What are the differences between path and classpath variables?

484


What is null object in java?

564


Write a method that will remove given character from the string?

567


How many bits is a 64 bit byte?

527


What is sleep method?

617


How to call one constructor from the other constructor ?

595


What is stringreader?

520


What is the primary benefit of encapsulation?

554