Home / MCQ Bank / Computer
Computer Inheritance And Polymorphism In Ruby Difficulty: Medium

What is the main advantage of using Object-Oriented Programming (OOP) principles?

Select the correct option to test your answer:

More Computer Questions

What is the average number of inversions in an array of N distinct numbers? The column sum in an incidence matrix for a simple graph is . . . . . . . . Which of the following is an example for automatic text formatting_____________? For what can the FULLTEXT indexes be created for? What will be the output of the following code? #include <iostream> #include <string> using namespace std; void func1(string input,string output) { if(input.length()==0) { cout<<output<<","; return; } for(int i=0;i<=output.length();i++) func1(input.substr(1),output.substr(0,i) + input[0] + output.substr(i)); } int main() { char str[] = "AB"; func1(str, ""); return 0; }