Vidyalelo
Ruby Programming · Q34

Advanced Topics in Ruby

Programming · Ruby Programming · question 34

Q34

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

Answer: Option D

Solution

Answer: Option D
No explanation is given for this question Let's Discuss on Board