The while is a keyword defined in the java programming
language. Keywords are basically reserved words which have specific meaning
relevant to a compiler in java programming language likewise the while
keyword indicates the following :
-- The while keyword in java programming language specifies a loop.
-- The loop represented by the while keyword repeats as long as a condition
is true.
Example to use the while keyword in a class:
|
public class Cla{ <statements> |
|
Recommend the tutorial |
Ask Questions? Discuss: while Java Keyword
Post your Comment