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
how to create multithreaded program? Explain different ways of using thread? : Java thread
What is a flag value?
How do you reverse sort in java?
What is java console application?
what are different ways in which a thread can enter the waiting state? : Java thread
Does a function need a return?
What is the difference between quicksort & mergesort? When should they be used? What is their running time?
What are the benefits of immutable objects?
What is the difference between error and an exception?
What is the use of http-tunneling in rmi?
Explain aggregation in java?
What is pass by value?
How many ways can we create the string object?
Tell me about your ability to work under pressure
Can variables be used in java without initialization?