KnowledgeBoat Logo

Computer Applications

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

Java Iterative Stmts

87 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

59 Likes


Related Questions