What are the object-oriented programming features supported by ruby?
Answer / Pankaj Mishra
"Ruby supports classes (templates for creating objects), objects (instances of classes), inheritance, polymorphism, encapsulation, and mixins."
| Is This Answer Correct ? | 0 Yes | 0 No |
Explain about Class variable and global variable?
What is the difference between calling super and calling super()?
What is the difference between a statement and an expression in ruby?
What is yield statement in ruby.
Explain me what the difference is between false and nil in ruby?
Tell us how would you implement hash in ruby internally?
Explain ampersand parameter (&block) in Ruby?
Tell me what is the difference between calling super and calling super()?
What is the difference between extend and include?
Explain the types of variables available in ruby class?
Tell me what is the difference between active support's “hashwithindifferent” and ruby's “hash” ?
how many ways you can create a concatenating string?