Home / MCQ Bank / Computer
Computer Classes And Objects In Ruby

What is the method used to access class variables in Ruby?

Select the best option to verify your answer:
Show Correct Answer
Correct Answer: Option C • Using class methods

Related Computer Questions

In EDA, what does the term "correlation" refer to? The CapacityScheduler supports ______ queues to allow for more predictable sharing of cluster resources. You have created a named access list called Blocksales. Which of the following is a valid command for applying this to packets trying to enter interface s0 of your router? What is the time complexity of the following code used to search an element in an array? #include<stdio.h> int search_num(int *arr, int num, int len) { int i; for(i = 0; i < len; i++) if(arr[i] == num) return i; return -1; } int main() { int arr[5] ={1,3,3,3,5},num=3,len = 5; int indx = search_num(arr,num,len); printf("Index of %d is %d",num,indx); return 0; } What is the purpose of database normalization?