Home / MCQ Bank / Computer
Computer Classes And Objects In Ruby Difficulty: Medium

What is the method used to define a class variable in Ruby?

Select the correct option to test your answer:

More Computer Questions

What will be the output of the following Java program? class variable_scope { public static void main(String args[]) { int x; x = 5; { int y = 6; System.out.print(x + " " + y); } System.out.println(x + " " + y); } } Which of these is correct way of inheriting class A by class B? Which protocol is supported by Android browsers? In NiFi, what does the term "Distributed Cache" refer to? Which feature is used for the automatic increment of the column?