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

How you can force the garbage collection?

0 Answers  


How do you use equal in java?

0 Answers  


What is the difference between static and non-static variables in java programming?

0 Answers  


How many bits are allocated to represent character of character sets - Unicode, ASCII, UTF-16, UTF-8?

1 Answers  


Do I need java on my pc?

0 Answers  


Explain java heap space and garbage collection?

0 Answers  


How to find the index of the largest number in an arraylist java?

0 Answers  


How does class forname work in java?

0 Answers  


How do you compare arrays in java?

0 Answers  


what is mutual exclusion? : Java thread

0 Answers  


What does it mean that strings are immutable?

0 Answers  


What is linkedlist in java?

0 Answers  


Categories