Answer Posted / nitin
int a=5;
while(a)
{
System.out.println(a);
}
or
while(true)
{
System.out.println("true");
}
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is the difference between logical data independence and physical data independence?
What is the difference between arraylist and hashset in java?
What's the default access specifier for variables and methods of a class?
What is the difference between the boolean & operator and the && operator in java programming?
What does n mean?
What are the important features of Java 9 release?
What is local variable and instance variable?
What is java basic concept?
What is difference between arraylist and list in java?
Can a static class have a constructor java?
What is a JAR file?
What does system out println () do?
What do you understand by access specifiers in Java?
How variables are declared?
What is int argc char * argv?