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

What is the purpose of encapsulation in Ruby classes?

Select the correct option to test your answer:

More Computer Questions

Whenever a peripheral is being controlled by the CPU, it is said to be online. If additionally, the computer files are updated as soon as any change takes place, the system is called Which of the following is not a valid C keyword? What will be the output of the following Java code? import java.util.*; class hashtable { public static void main(String args[]) { Hashtable obj = new Hashtable(); obj.put("A", new Integer(3)); obj.put("B", new Integer(2)); obj.put("C", new Integer(8)); obj.remove(new String("A")); System.out.print(obj); } } . . . . . . . . is a standard Java API for monitoring and managing applications. What will be the chromatic number for an bipartite graph having n vertices?