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
What do you mean by ordered and sorted in collections in java?
What are the two categories of data types in the java programming language?
What are the differences between this and super keyword?
Explain what pure virtual function is?
What are the characteristics of java?
What are the advantages of java?
Can a constructor be protected?
When will you define a method as static?
What is string and example?
Can anonymous class have constructor?
Why string is a class?
How do you declare a string variable?
What method is used to specify a container's layout in java programming?
What are the different types of constructor?
why we use merge option in hybernate pls give a ex snippet