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 are autoboxing and unboxing? When does it occur?
What is the argument in java?
Define how can we find the actual size of an object on the heap?
Difference between abstract and concrete class ?
What do you understand by classes in java?
Is arraylist dynamic in java?
What is meant by vector class, dictionary class, hash table class, and property class?
What is a java predicate?
What is the significance of listiterator?
What is the synonym of procedure?
How do you pass by reference?
What is the size of int in 64-bit jvm?
What is functional interface in java?
How does a for loop work?
How do you do exponents in java?