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 |
I want my class to be developed in such a way that no other class (even derived class) can create its objects. Define how can I do so?
What function extracts specified characters from a string?
why String class is immutable.
Can bool be null?
How many bits is size_t?
How many ways can you break a singleton class in java?
how copy the hashmap object into arraylist at java program?
Which container method is used to cause a container to be laid out and redisplayed in java programming?
what are the differences between java and .net?..why u choose java?
What are constants?
Is arraylist dynamic in java?
How do you check if a string contains only numeric digits?