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 Posted / 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 |
Post New Answer View All Answers
Whats the difference between notify() and notifyall()?
What are the 3 types of loops in java?
What is difference between public static and void?
What are local variables?
Is java based on c?
What are the drawbacks of reflection?
what is use of functional interface in java 8?
What are the 4 types of characters?
Is there a case when finally will not execute?
What is complexity in java?
can java object be locked down for exclusive use by a given thread? : Java thread
What is a website container?
What is java and why do we need it? Explain
What do you mean by flow of struts?
What are the methods of object class ?