JOBSEEKERS
Login
Sign Up
Jobseeker
Employer
Staffing Firm
Direct Client
Polymorphism interview questions
Polymorphism interview questions
Back
Take as many assements as you can to improve your validate your skill rating
Total Questions: 5
1. Which among the following best describes polymorphism?
A. It is the ability for a message/data to be processed in more than one form
B. It is the ability for a message/data to be processed in only 1 form
C. It is the ability for many messages/data to be processed in one way
D. It is the ability for undefined message/data to be processed in at least one way
Show Correct Answer
Correct Answer is :
It is the ability for a message/data to be processed in more than one form
2. What do you call the languages that support classes but not polymorphism?
A. Class based language
B. Procedure Oriented language
C. Object-based language
D. If classes are supported, polymorphism will always be supported
Show Correct Answer
Correct Answer is :
Object-based language
3. Which among the following is the language which supports classes but not polymorphism?
A. SmallTalk
B. Java
C. C++
D. Ada
Show Correct Answer
Correct Answer is :
Ada
4. 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?
A. Inheritance
B. Overloading
C. Polymorphism
D. Overriding
Show Correct Answer
Correct Answer is :
Polymorphism
5. Which type of function among the following shows polymorphism?
A. Inline function
B. Virtual function
C. Undefined functions
D. Class member functions
Show Correct Answer
Correct Answer is :
Virtual function
Similar Interview Questions
Search for latest jobs
Find Jobs