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
How is it possible in java programming for two string objects with identical values not to be equal under the == operator?
What is math in java?
a thread is runnable, how does that work? : Java thread
What are the string methods in java?
Explain differences between collection api and stream api?
What are the core java topics?
Explain java coding standards for methods?
What are instance variables?
What is a generic data type?
What are the library functions in java?
How do you do exponents in java?
What is the difference between super class & sub class?
Can we call thread start () twice?
What is the purpose of format function?
What is variable and constant explain with example?