Which of the following features of OOP would indicate code reusability? (A) Polymorphism (B) Abstraction (C) Inheritance (D) Encapsulation
Asked in APSC 66 12/ Junior Manager (Electrical / Mechanical / IT/ INSTRUMENTATION) , in Assam Power Generation Corporation Limited (APGCL) (Advt. No. 12/, dtd 25-04-) ELECTRICAL ENGINEERING ME 2023
Show answer
Answer: C. Inheritance
More APSC Prelims previous year questions questions
- A constructor (A) may consist of a return type (B) does not consist of any return type (C) has some return type (D) of a derived class has a return type
- Which of the following is/are automatically added to every class, if we do not write our own? (A) Copy constructor (B) Assignment operator (C) Constructor without any parameter (D) All of the above
- The access specifier(s) that is/are the most secure during inheritance is/are (A) protected (B) private (C) private and default (D) default
- Which language does not support polymorphism but supports classes? (A) Ada (B) C++ (C) Java (D) Smalltalk
- Prime attribute of a relation schema R is an attribute that appears (A) in all candidate keys of R (B) in some candidate keys of R (C) in foreign key of R (D) only in the primary key of R
- Which of the following is not a feature of DBMS? (A) Minimum duplication and redundancy of data (B) High level of security (C) Single-user access only (D) Supports ACID property
- What is information about data called? (A) Hyperdata (B) Teradata (C) Metadata (D) Relations
- Which one of the options given below refers to the degree (or arity) of relation in relational database system? (A) Number of attributes of its relation schema (B) Number of tuples stored in the relation (C) Number of entries in the relation (D) Number of distinct domains of its relation schema