Answer Posted / Rekha Rani Sonker
In Ruby, a module is a namespace that holds related methods and constants. Modules can be included in classes to add functionality or mixed into other modules using `include` or `extend`. Modules can also be used independently or combined with each other. By organizing code into modules, you can promote code reuse, avoid name conflicts, and increase the modularity of your application.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers