Polymorphism MCQ Questions and Answers - 1

Question: 1

Polymorphism is achieved through ___

(A) Heritance

(B) Poly programming

(C) Encapsulation

(D) Overloading

Ans: D

Overloading

Question: 2

The word polymorphism means ____

(A) Many programs

(B) Two forms

(C) Single form

(D) Many shapes

Ans: D

Many shapes

Question: 3

The mechanism of giving special meaning to an operator is called ____

(A) Object

(B) Inheritance

(C) Function overloading

(D) Operator Overloading

Ans: D

Operator Overloading

Question: 4

In function overloading do not use the ___ function name for two unrelated functions.

(A) Same

(B) Different

(C) Similar

(D) Complement

Ans: A

Same

Question: 5

Strcat() function is used for ____

(A) Substring

(B) String calculation

(C) String comparison

(D) String concatenation

Ans: D

String concatenation

Related Questions