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


Can method names be capitalized?



Can method names be capitalized?..

Answer / Aarti

Yes, in Ruby, method names can start with a capital letter. In fact, it is common to use Capitalized Words to denote Class Names and Capitalized letters separated by underscores for Method Names.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Ruby Interview Questions

How would you freeze an object in ruby? Can you provide a simple example?

1 Answers  


What is the difference between extend and include?

1 Answers  


Explain when self.up and self.down method is used?

1 Answers  


Tell me what is the role of sub-directory app/controllers and app/helpers?

1 Answers  


Explain me what the difference is between false and nil in ruby?

1 Answers  


What are the data types in ruby?

1 Answers  


Explain Ruby hashes?

1 Answers  


Does hash use “ #==” or “#eql?” To compare hash keys?

1 Answers  


Explain about methods?

1 Answers  


What are the key features of ruby?

1 Answers  


What is the difference between calling super and calling super()?

1 Answers  


Explain the three levels of access control for ruby methods?

1 Answers  


Categories