What is the purpose of the BasicObject class in Ruby?
A. It is a special class used for metaprogramming purposes
B. It is a module that defines common utility methods for all Ruby objects
C. It provides a set of basic methods that all Ruby objects inherit
D. It serves as the root of the Ruby class hierarchy
Answer: Option D

Join The Discussion