
Polymorphism
Authored by Asmaa Ahmed
Computers
University
Used 3+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
53 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Defining methods with the same name and the same parameters to perform more than one functions, is known with
a. Overload
b. Overriding
C. Encapsulation
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Assuming a function named getavg() to calculate average of integer or real numbers, this function can be overloaded by
a. The number of parameters that the function receives
B. The type of parameters that the function receives
C, both are correct
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In the case of programming the steps of the function GetArea () to calculate areas for different geometric shapes, this achieves a concept
A. Overriding
B. overloading
C. Inheritance
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The principle of .......... means that you have two or more methods with the same name, but different parameters
A. Overloading
B. Overriding
C. Encapsulation
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
……Enables the definition of multiple methods with the same name within the same class, but with different number of arguments or different types
A. Static method
B. overriding
C. overloading
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Overload concept is realized when
A. The number of parameters varies in each method
B. The type of parameters varies in each method
C, both are correct
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
One of the basic concepts of OOP, which allows reprogramming functions or procedures more than once with the same name.
A. Polymorphism
B. Inheritance
C. Encapsulation
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
54 questions
Unit 4 Study Guide
Quiz
•
9th Grade - University
50 questions
ICT 51-100
Quiz
•
University
50 questions
DBMS-CCE 1_B.Sc-4_13-02-25
Quiz
•
University
50 questions
MES3093: QUIZ
Quiz
•
University
51 questions
ALGORITHM AND FLOWCHART
Quiz
•
12th Grade - University
52 questions
PROTOCOLOS-1-ESPAÑOL
Quiz
•
University - Professi...
50 questions
акт 351-400
Quiz
•
University
50 questions
XML
Quiz
•
University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade