adplus-dvertising

Welcome to the OOPs Concept and Features MCQs Page

Dive deep into the fascinating world of OOPs Concept and Features with our comprehensive set of Multiple-Choice Questions (MCQs). This page is dedicated to exploring the fundamental concepts and intricacies of OOPs Concept and Features, a crucial aspect of Object Oriented Programming. In this section, you will encounter a diverse range of MCQs that cover various aspects of OOPs Concept and Features, from the basic principles to advanced topics. Each question is thoughtfully crafted to challenge your knowledge and deepen your understanding of this critical subcategory within Object Oriented Programming.

frame-decoration

Check out the MCQs below to embark on an enriching journey through OOPs Concept and Features. Test your knowledge, expand your horizons, and solidify your grasp on this vital area of Object Oriented Programming.

Note: Each MCQ comes with multiple answer choices. Select the most appropriate option and test your understanding of OOPs Concept and Features. You can click on an option to test your knowledge before viewing the solution for a MCQ. Happy learning!

OOPs Concept and Features MCQs | Page 7 of 11

Discuss
Answer: (a).It is the ability for a message/data to be processed in more than one form
Discuss
Answer: (c).Object-based language
Q63.
Which among the following is the language which supports classes but not polymorphism?
Discuss
Answer: (d).Ada
Q64.
If same message is passed to objects of several different classes and all of those can respond in a different way, what is this feature called?
Discuss
Answer: (c).Polymorphism
Q65.
Which class/set of classes can illustrate polymorphism in the following code:
abstract class student
{
   public : int marks;
   calc_grade();
}
class topper:public student
{
    public : calc_grade()
    { 
        return 10; 
    }
};
class average:public student
{ 
     public : calc_grade()
     {
         return 20; 
     }
};
class failed{ int marks; };
Discuss
Answer: (c).All class student, topper and average together can show polymorphism
Q66.
Which type of function among the following shows polymorphism?
Discuss
Answer: (b).Virtual function
Discuss
Answer: (b).Function with highest priority in compiler
Discuss
Answer: (a).Static member functions
Q69.
What is output of the following program?
class student
{ 
    public : int marks; 
 void disp() 
 { 
  cout<<”its base class”
 };
 class topper:public student
 {
  public : 
  void disp()
  { 
   cout<<”Its derived class”; 
  }
 }
 void main() { student s; topper t;
 s.disp();
 t.disp();
}
Discuss
Answer: (a).Its base classIts derived class
Q70.
Which among the following can show polymorphism?
Discuss
Answer: (c).Overloading <<

Suggested Topics

Are you eager to expand your knowledge beyond Object Oriented Programming? We've curated a selection of related categories that you might find intriguing.

Click on the categories below to discover a wealth of MCQs and enrich your understanding of Computer Science. Happy exploring!