Which of these codes will raise an exception? class Person def name 'Andrew' end end # 1. person = Person.new person .name # 2. person = Person.new person. name # 3. Person .new .name # 4. Person .name
Correct Answer: None of these
Explanation:
Note: This Question is unanswered, help us to find answer for this one
More Ruby On Rails MCQ Questions