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 is the difference between #== and #eql??

1 Answers  


Tell me what is the command to create a migration?

1 Answers  


Tell us what is class libraries in ruby?

1 Answers  


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

1 Answers  


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

1 Answers  


What are the key features of ruby?

1 Answers  


Is ruby a statically typed or a dynamically typed language?

1 Answers  


In how many ways you can compare Ruby string?

1 Answers  


Explain me what the difference is between false and nil in ruby?

1 Answers  


Name some operators used in ruby.

1 Answers  


How to use sql db or mysql db. Without defining it in the database.yml

1 Answers  


What are freezing string in Ruby?

1 Answers  


Categories