Home / MCQ Bank / Computer
Computer Object Oriented Programming (Oop) Concepts In Ruby Difficulty: Medium

Which keyword is used to define a class method in Ruby?

Select the correct option to test your answer:

More Computer Questions

In a regular expression, what does the metacharacter `$` represent when used at the end of a pattern? Which among the following have the maximum bytes? In Python, how can you create an empty dictionary? Which function is used to reposition the file pointer? What will be the output of the following Python expression if the value of x is 34? print(“%f”%x)