What are Ruby’s key features?

Pure OOP → Everything is an object.

Dynamic Typing → No need to declare variable types.

Duck Typing → If it “quacks like a duck”, it can be treated as one.

Garbage Collection → Memory management is automatic.

Mixins (Modules) → Instead of multiple inheritance, Ruby uses modules.

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *