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 super call?



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

Answer / Rishitosh Tyagi

{"super": "The `super` keyword in Ruby calls the parent class’s implementation of the current method. It can be used within a subclass to invoke the parent’s method.","super_call": "`super` is often referred to as invoking a super call, but it's not an actual function or method named `super_call`. If you need to invoke a super class’s constructor, use `super()` or `super class_method_name` instead."

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Ruby Interview Questions

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

1 Answers  


what is a class library in Ruby?

1 Answers  


As you know ruby provides four types of variables. List them and provide a brief explanation for each?

1 Answers  


Explain the role of thread pooling in relation to the thread lifecycle in ruby?

1 Answers  


Tell us the types of variables available in ruby class?

1 Answers  


Tell me what is the role of sub-directory app/controllers and app/helpers?

1 Answers  


How to access Ruby array elements? How many methods are used to access Ruby elements?

1 Answers  


In how many ways items can be removed from array in Ruby?

1 Answers  


What are the operators available in ruby?

1 Answers  


What is ruby?

1 Answers  


what is the difference between Procs and Blocks?

1 Answers  


What is Ruby programming language?

1 Answers  


Categories