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



Explain ruby class...

Answer / Shashi Prakash Verma

"A Ruby class is a blueprint for creating objects. It defines the properties (attributes or instance variables) and methods that those objects will have. Classes are defined using the 'class' keyword followed by the name of the class. For example:

class MyClass
# define properties and methods here
end
""

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Ruby Interview Questions

Name different methods for io console in ruby?

1 Answers  


Explain about Class variable and global variable?

1 Answers  


Explain me what is the difference between symbol and string?

1 Answers  


What are ruby variables.

1 Answers  


What is the use of interpolation in ruby?

1 Answers  


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

1 Answers  


Can you call a private method outside a ruby class using its object?

1 Answers  


Is ruby supports single inheritance/ multiple inheritance or both?

1 Answers  


How can you removed from array in ruby?

1 Answers  


Interpolation is a very important process in Ruby, comment.

1 Answers  


What are ruby blocks.

1 Answers  


Explain Ruby object?

1 Answers  


Categories