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 the naming conventions for methods that return a boolean result?

1 Answers  


What are ruby variables.

1 Answers  


How is visibility of methods changed in ruby?

1 Answers  


Please explain each of the following operators and how and when they should be used: ==, ===, eql?, Equal?

1 Answers  


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

1 Answers  


What are the operators available in ruby?

1 Answers  


What is a symbol in ruby?

1 Answers  


Explain about normal method class?

1 Answers  


Explain me what is the difference between symbol and string?

1 Answers  


What is the difference between static and dynamic scaffolding?

1 Answers  


What are some advantages of using ruby?

1 Answers  


What is the use of interpolation in ruby?

1 Answers  


Categories