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
List some features of the abstract class.
What is meant by object?
Can we use switch statement with strings?
Explain java coding standards for classes or java coding conventions for classes?
What is the implementation of destroy method in java. Is it native or java code?
Is string is a data type in java?
How many ways can an argument be passed to a subroutine and explain them?
why doesn't java run on all platforms?
Can a static class implement an interface?
Can we create an object of private class?
Is arraylist sorted in java?
How to read and write image from a file ?
What is qualitative variable?
What classes of exceptions may be caught by a catch clause in java programming?
What is OOP Language?