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 purpose of void class?
What does a boolean method return?
Why method overriding is used?
How many days will it take to learn java?
What do you mean by scope of variable?
Explain different types of thread priorities ?
Explain different ways of creating a thread?
What are autoboxing and unboxing? When does it occur?
What are peerless components in java programming?
What is the difference between serializable and externalizable interfaces?
Differences between external iteration and internal iteration?
What is java argument list?
What is a pointer and does java support pointers?
how to prepare for IT Officers Interview in Banks
Why java is said to be pass-by-value ?