Home / Report Question

Q. What is the purpose of the initialize method in Ruby classes?
  • A. To initialize class variables
  • B. To define instance variables
  • C. To define class methods
  • D. To define instance methods

Correct Answer: A