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 |
Differentiate between run time error and syntax error.
What is the purpose of static methods and variables?
is it mandatory to deaclare all variables public static fianl in interfaces?if i declare like in the below program, public interface A { public static final int I=0; int j=0; } in interface A,what is the difference between I,j?
To obtain design information about an object, which class in used?
How can we create a synchronized collection from given collection?
In which order the iterator iterates over collection?
What does the three dot emoji mean?
What is meant by the value of a variable?
What about main() method in java ?
Is alive in java?
what is class.forname() and how it will be useful ?
What is locale?