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 me what is the difference between calling super and calling super()?



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

Answer / Abhaya Kumar Singh

"In Ruby, when you call 'super', it calls the method from the immediate parent class. When you call 'super()', it calls the method of the exact same name from the immediate parent class's superclass (which is Object by default)."

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Ruby Interview Questions

What are the data types in ruby?

1 Answers  


What is concatenating string in Ruby?

1 Answers  


Tell me how symbol is different from variables?

1 Answers  


what is the difference extend and include?

1 Answers  


How would you create getter and setter methods in ruby?

1 Answers  


What happens when a value is too big for fixnum?

1 Answers  


Describe class libraries in Ruby?

1 Answers  


Why Ruby is known as a language of flexibility?

1 Answers  


Explain me what is the difference between symbol and string?

1 Answers  


What are ruby blocks.

1 Answers  


What is the difference between extend and include?

1 Answers  


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

1 Answers  


Categories