• +91 9723535972
  • info@interviewmaterial.com

Ruby Interview Questions and Answers

Question - How to create Ruby object?

Answer -

Objects in Ruby are created by calling new method of the class. It is a unique type of method and predefined in Ruby library.
Syntax:

objectName=className.new  

Comment(S)

Show all Coment

Leave a Comment




NCERT Solutions

 

Share your email for latest updates

Name:
Email:

Our partners