Ask Question
13 November, 14:59

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.

+5
Answers (1)
  1. 13 November, 18:48
    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?
Find 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 and Technology if you're in doubt about the correctness of the answers or there's no answer, then try to use the smart search and find answers to the similar questions.
Search for Other Answers