MCQs > IT & Programming > Ruby On Rails > Which code 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

Ruby On Rails MCQs

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

Answer

Correct Answer: None of these

Explanation:

Note: This Question is unanswered, help us to find answer for this one

Ruby On Rails Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

Ruby On Rails Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it