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 the files generated after using IDL to java compiler?
What are the advantages of assembly language?
What is the transient keyword?
Explain what pure virtual function is?
What is listnode in java?
What are singleton services?
Where are the card layouts used?
How do you convert int to char in java?
What are the kinds of polymorphism?
When throw keyword is used?
Is an empty arraylist null?
Is array a class in java?
What is definition and declaration?
Explain an algorithm to find depth of a binary tree.
What is the Difference between Final Class && Abstract Class?