Hi Guest

MobileUser

1 HomePage 1 Jobs 1 WalkIn 1Articles  

Cat Exam

 :) Latest Topic
VB.NET
Perl
COBOL
Pascal
FORTRAN
BASIC
Ada
C++
Scala
ASP.NET
 C
 :) Hot Jobs
 
 :) Latest Articles


  

 


What do you mean by redo statement in Ruby?
Question Posted on 16 Mar 2021

Home >> Programming Languages >> Ruby >> What do you mean by redo statement in Ruby?




What do you mean by redo statement in Ruby?
Ruby redo statement basically is used to repeat current iteration of loop. And when we need to execute redo statement we donot need to evaluate loop condition. The redo keyword can be useful in the context of a loop or an enumeration.


Redo Ruby
Output of above code is :-


Redooutput ruby
0
0



 
 Input Your Comments Or suggestions(If Any)
 Name
 Email(optional)
 Comments


Other Important Questions
Why Ruby is said as flexible language
How can we create a Ruby Object?
What do you mean by redo statement in Ruby?
Define the main differences between nil and false in Ruby?






 
Top Searches:asp net questions vb net questions sql query uddl questions class javascript Questions sharepoint interview questions and concept silverlight questions and concept wcf questions beans general knowledge ajax questions
PHP | Biztalk | Testing | SAP | HR |