Ask Question
10 October, 03:18

Which of the following is true?

a. If methods have the same name but different value it iscalled overloading methods.

b. If methods have the same name but same value it iscalled overloading methods.

c. If methods have the same parameter but different valueit is called underloading methods.

d. If methods have the same header but different valueit is called reloading methods.

+2
Answers (1)
  1. 10 October, 06:23
    0
    None of them is true.

    Explanation:

    Option a and option b are false because overloading methods means the methods in the same class with the same name in which the methods have different argument lists. The argument lists differ that can be due to (1) different number of parameters or (2) different data type of parameters or (3) different sequence of parameters (ex - swapped parameters).

    Option c is false as there is no concept called underloading methods

    Option d is false as there is no concept called reloading methods.
Know the Answer?
Not Sure About the Answer?
Get an answer to your question ✅ “Which of the following is true? a. If methods have the same name but different value it iscalled overloading methods. b. If methods have ...” in 📙 Computers & Technology if there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Search for Other Answers