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 normal method class?



Explain about normal method class?..

Answer / Uday Veer Singh

A regular or instance method in Ruby is a function defined within a class that operates on the instances of that class. These methods receive an implicit first argument called 'self' which refers to the object that the method belongs to. Regular methods can modify their owning objects, and they are invoked using dot notation (e.g., obj.my_method).

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Ruby Interview Questions

Are ruby strings are mutable?

1 Answers  


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

1 Answers  


Difference between nil and false in ruby?

1 Answers  


What is ruby?

1 Answers  


Tell me what is the difference between calling super() and super call?

1 Answers  


what is Interpolation in Ruby?

1 Answers  


Do you know when self.up and self.down method is used?

1 Answers  


Explain about the defined operator in ruby?

1 Answers  


How would you create getter and setter methods in ruby?

1 Answers  


How is an iterator handled in ruby?

1 Answers  


How is visibility of methods changed in ruby?

1 Answers  


What is yield in ruby?

1 Answers  


Categories