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 to do encapsulation in java?

0 Answers  


What are field variable and local variable?

3 Answers  


How can we create a thread in java?

0 Answers  


how to use crystal reports in java

2 Answers  


Explain the advantages of packages in java?

0 Answers  


What is math exp in java?

0 Answers  


What is classes in java?

0 Answers  


Why do we need singleton?

0 Answers  


If system.exit (0); is written at the end of the try block, will the finally block still execute?

0 Answers  


What are selection structures?

0 Answers  


How do you use nextline in java?

0 Answers  


What is the return type of readLine() when end of a file is reached?

2 Answers  


Categories