Ask Question
10 April, 06:08

Overloading means multiple methods in the same class:

A. have the same name, but different return types

B. have different names, but the same parameter list

C. have the same name, but different parameter lists

D. perform the same function

+2
Answers (1)
  1. 10 April, 09:33
    0
    C

    Explanation:

    Overloaded methods in programming languages like java simply refers to methods with the names but with different parameter list. for example consider this two methods in a Java program:

    public static int sum (int a, int b) {

    }

    public static int sum (int a, int b, int c) {

    }

    These two methods have the same signature but different parameter list, this is legal in Java and it is called Method Overloading. When a call is made to sum. The determinant factor as to which of these methods that will be executed is the number of arguments that will be passed by the calling program.
Know the Answer?
Not Sure About the Answer?
Find an answer to your question ✅ “Overloading means multiple methods in the same class: A. have the same name, but different return types B. have different names, but the ...” 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