KnowledgeBoat Logo

Computer Applications

What is the purpose of using break statement in a program?

Java Iterative Stmts

80 Likes

Answer

break statement is used when the user would like to terminate the loop before its completion and send the control to exit the loop, if certain condition is true.

Answered By

55 Likes


Related Questions