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 does a try statement determine which catch clause should be used to handle an exception?

2 Answers  


What is a protected class in java?

0 Answers  


What will happen if a thrown exception is not handled?

0 Answers   ABB, Akamai Technologies, Infogain,


What is an accessor?

1 Answers   BirlaSoft,


What do you mean by global variable?

0 Answers  


How do you check if two strings are equal in java?

0 Answers  


what is recursion in java

0 Answers   Cap Gemini,


What do you mean by stack?

0 Answers   Accenture,


How do you implement polymorphism in our day to day life?

0 Answers   Cap Gemini,


What is this keyword in java?

0 Answers  


Why java is a platform independent? Explain

0 Answers  


What is an object's lock and which object's have locks in java programming?

0 Answers  


Categories