Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Infinite loop using while ?

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


Please Help Members By Posting Answers For Below Questions

Is java same as core java?

1071


What are basic data types?

1074


Explain the use of shift operator in java. Can you give some examples?

953


Is a string literal?

1068


Why is multithreading important?

926


Why is java logo a cup of coffee?

1145


what is meant by abstract class?

1108


What are parsers? Dom vs sax parser.

1020


What is hash table in java?

990


What does system out println () do?

991


What is an i/o filter?

1771


How is tree Mirroring implemented?

1050


How many days will it take to learn java?

915


Why isn’t there operator overloading?

1048


What does void * mean?

1011