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


what is the Notation used for denoting class variables in Ruby?



what is the Notation used for denoting class variables in Ruby?..

Answer / Sachin Arya

In Ruby, class variables are denoted using two at signs (@@). They are shared among all instances of a class and its subclasses.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Ruby Interview Questions

How would you freeze an object in ruby?

1 Answers  


How to check whether a directory exist or not in Ruby?

1 Answers  


In how many ways a block is written in Ruby?

1 Answers  


Explain about environment variables present in ruby?

1 Answers  


difference between activesupport's “hashwithindifferentaccess” and ruby's “hash”?

1 Answers  


What is the difference between ruby 1.9 and ruby 2.0?

1 Answers  


Are ruby strings are mutable?

1 Answers  


What is concatenating string in Ruby?

1 Answers  


How would you implement hash in ruby internally?

1 Answers  


Tell us in ruby, it explains about the defined operator?

1 Answers  


What is a symbol in ruby?

1 Answers  


Explain about methods?

1 Answers  


Categories