Java Learning Made Easy by Dheeraj Mehrotra - HTML preview
PLEASE NOTE: This is an HTML preview only and some elements such as links or page numbers may be incorrect.
Download the book in PDF, ePub, Kindle for a complete version.
Download the book in PDF, ePub, Kindle for a complete version.
Do While Statement of JAVA




This format of the WHILE statement is an exit controlled iteration

statement. In this the condition which is to be checked lies at the

end of the execution statement/statements and is hence executed at

least once no matter the conditon is met or not.

It has the following format :


do

{

body of the loop

}

while (test expression);









attention@computerscienceexpertise.com












