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


What are the looping structures available in ruby?



What are the looping structures available in ruby?..

Answer / Kopal Yadav

"Ruby has two main looping structures: while loop and for loop. While loop checks a condition at the start of each iteration, while for loop initializes the counter, checks the condition, and increments the counter at the end of each iteration."

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Ruby Interview Questions

What are differences between ruby and python?

1 Answers  


How an exception is handled in Ruby?

1 Answers  


Tell me what are blocks and procs?

1 Answers  


What is the difference between throw/catch and raise/rescue?

1 Answers  


What happens when a value is too big for fixnum?

1 Answers  


Explain break statement in Ruby?

1 Answers  


Explain retry statement in ruby.

1 Answers  


Explain about operators in Ruby?

1 Answers  


Explain next statement in ruby.

1 Answers  


Tell me what is the difference between active support's “hashwithindifferent” and ruby's “hash” ?

1 Answers  


What is RubyGems in Ruby programming language?

1 Answers  


What is Ruby programming language?

1 Answers  


Categories