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 |
How does a try statement determine which catch clause should be used to handle an exception?
What is a protected class in java?
What will happen if a thrown exception is not handled?
0 Answers ABB, Akamai Technologies, Infogain,
What is an accessor?
What do you mean by global variable?
How do you check if two strings are equal in java?
what is recursion in java
What do you mean by stack?
How do you implement polymorphism in our day to day life?
What is this keyword in java?
Why java is a platform independent? Explain
What is an object's lock and which object's have locks in java programming?