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

Tell me how you define instance variable, global variable and class variable in ruby?

1 Answers  


what is the difference between a single quote and double quote?

1 Answers  


What is Ruby programming language?

1 Answers  


What does mri most commonly stand for?

1 Answers  


What is retry statement in ruby?

1 Answers  


What is sysread method in Ruby?

1 Answers  


What is the pattern matching operator in ruby?

1 Answers  


How symbol is different from variables?

1 Answers  


Explain redo statement in Ruby?

1 Answers  


Explain about Float, Dig and Max?

1 Answers  


What are blocks and procs?

1 Answers  


What are the different uses of ruby modules?

1 Answers  


Categories