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


Tell us the types of variables available in ruby class?



Tell us the types of variables available in ruby class?..

Answer / Sunny

{"variables": "Ruby provides three main types of variables: instance variables (`@instance_variable`), class variables (`@@class_variable`), and global variables (`$global_variable`).","constants": "Constants in Ruby are defined using the `:` symbol and are case-sensitive. They can be accessed with their full name (e.g., CONSTANT_NAME) or by using the constant’s name as an identifier."

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Ruby Interview Questions

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

1 Answers  


Explain about the command line options?

1 Answers  


Mention what is the command to create a migration?

1 Answers  


How to access Ruby array elements? How many methods are used to access Ruby elements?

1 Answers  


What are differences between ruby and python?

1 Answers  


What is rvm?

1 Answers  


What is yield in ruby?

1 Answers  


Mention what is the difference between a gem and a plugin in ruby?

1 Answers  


Do you know what is the defined operator?

1 Answers  


What is Ruby programming language?

1 Answers  


What things we can define in the model?

1 Answers  


Explain case statement in Ruby?

1 Answers  


Categories