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



What is the difference between calling super and calling super()?..

Answer / Mnaoj Kumar Viyas

In Ruby, calling super invokes the parent method with the same number of arguments as passed to the current method. Calling super() invokes the parent class's implementation of the current method, regardless of the number of arguments.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Ruby Interview Questions

Can you call a private method outside a ruby class using its object?

1 Answers  


How is object methods defined in ruby?

1 Answers  


How can you removed from array in ruby?

1 Answers  


What is RubyGems in Ruby programming language?

1 Answers  


Explain Ruby exceptions?

1 Answers  


In how many ways a block is written in Ruby?

1 Answers  


Ruby support single inheritance/multiple inheritance or both?

1 Answers  


What is the difference between static and dynamic scaffolding?

1 Answers  


How would you freeze an object in ruby?

1 Answers  


what is class libraries in Ruby?

1 Answers  


What happens when a value is too big for fixnum?

1 Answers  


What are the key features of ruby?

1 Answers  


Categories