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...

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 Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the files generated after using IDL to java compiler?

1098


What are the advantages of assembly language?

879


What is the transient keyword?

2041


Explain what pure virtual function is?

976


What is listnode in java?

944


What are singleton services?

848


Where are the card layouts used?

1029


How do you convert int to char in java?

1027


What are the kinds of polymorphism?

1048


When throw keyword is used?

1001


Is an empty arraylist null?

1047


Is array a class in java?

933


What is definition and declaration?

969


Explain an algorithm to find depth of a binary tree.

999


What is the Difference between Final Class && Abstract Class?

1031