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

What does the private keyword do in a Ruby class?

Select the correct option to test your answer:

More Computer Questions

What will be the value of sum after the following program is executed? void main() { int sum=1, index = 9; do{ index = index – 1; sum *= 2; }while( index > 9 ); } If integer needs two bytes of storage, then maximum value of an unsigned integer is This option allows you to build a new table by entering data directly into the datasheet. What will be the output of the following Python code? l=[[1 ,2, 3], [4, 5, 6], [7, 8, 9]] [[row[i] for row in l] for i in range(3)] Which of the following should you use if you want all the slide in the presentation to have the same “look”?