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
Difference between java and javascript
Can inner class have constructor?
What is the name of the java compiler?
What is a package in java? List down various advantages of packages.
What is the replace tool?
What is the use of bufferedreader?
How many unicode characters are there?
What is nan inf?
Is constructor inherited?
what is optional in java 8?
How a string is stored in memory?
What are the special characters?
Differences between C and Java?
Which class should you use to obtain design information about an object in java programming?
How will you compute size of a structure?