AIEEE
Exam
Programming
Which of the given function prototypes can be considered to be overloaded (no ambiguity)?
A: function my Func(integer Num, float me) // does not return anything
B: function my Func(integer Num, double me) // does not return anything
C: function my Func(character Num, float me) // does not return anything
D: function my Func(integer Num, float me) // returns an integer
a. A and B
b. A, B and C c. A, C and D d. B, C, and D e. B and D
Read Solution (Total 1)
-
- option b.... function overloading or method overloading is the ability to create multiple methods of the same name with different implementations.
- 9 years agoHelpfull: Yes(0) No(1)
AIEEE Other Question