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


Explain about methods?



Explain about methods?..

Answer / Nitesh Kumar Singh

Methods in Ruby are functions that perform specific tasks. They can be defined within classes, modules, or the main program using the 'def' and 'end' keywords (e.g., def my_method; end). Methods can take arguments, return values, and manipulate object state. Some methods are predefined in Ruby's core library.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Ruby Interview Questions

How will you rename and delete a file in Ruby?

1 Answers  


What is ruby software and where and when it is usefull.

1 Answers  


Do you know about dig, float and max?

1 Answers  


Explain about portability?

1 Answers  


What are advantages of using ruby?

1 Answers  


Explain for loop in Ruby?

1 Answers  


What happens when a value is too big for fixnum?

1 Answers  


What is the difference between nil and false in ruby?

1 Answers  


Explain next statement in ruby.

1 Answers  


Can you please explain what is the difference between string and symbol?

1 Answers  


What are the three levels of method access control for classes and what do they signify? What do they imply about the method?

1 Answers  


Explain about methods?

1 Answers  


Categories