HOW TO PRINT A NO IN WORDS USING WHILE LOOP THE NO WILL BE
PRINTED WHEN IT WILL BE IN THE RANGE BETWEEN 1 AND 3?
Answer / jay harkhani
class WhileLoop
{
public static void main(String args[])
{
int i=1;
while(i!=4)
{
System.out.println("NO");
i++;
}
}
}
Is This Answer Correct ? | 5 Yes | 10 No |
What are the notations in Java?
What is the purpose of a statement block?
Define interface?
What are non-access modifiers?
what is language and it responsibilities
Define linked list and its features with signature?
How to pass arraylist to stored procedure in java?
List primitive java types?
write the hierarchy of component class?
What is the applet security manager, and what does it provide?
What is vector capacity in java?
Can we add default constructor to Servlet?