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?



HOW TO PRINT A NO IN WORDS USING WHILE LOOP THE NO WILL BE PRINTED WHEN IT WILL BE IN THE RANGE BET..

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

More Core Java Interview Questions

I want my class to be developed in such a way that no other class (even derived class) can create its objects. Define how can I do so?

0 Answers  


What function extracts specified characters from a string?

0 Answers  


why String class is immutable.

5 Answers   iGate,


Can bool be null?

0 Answers  


How many bits is size_t?

0 Answers  


How many ways can you break a singleton class in java?

0 Answers  


how copy the hashmap object into arraylist at java program?

4 Answers   HCL, Wipro,


Which container method is used to cause a container to be laid out and redisplayed in java programming?

0 Answers  


what are the differences between java and .net?..why u choose java?

1 Answers  


What are constants?

0 Answers  


Is arraylist dynamic in java?

0 Answers  


How do you check if a string contains only numeric digits?

0 Answers  


Categories