Computer Science, asked by SAM202100436, 4 days ago

what can be used to differentiate two or more methods having the same name?

Answers

Answered by sampadakothawade
0

Return type of method, Number of parameters and Parameters data type can be used to differentiate two or more methods having same name.

PLEASE MARK ME AS THE BRAINLIST

Answered by VishalRai46
1

Answer: Return type of method, Number of parameters and Parameters data type can be used to differentiate two or more methods having same name.

Explanation:

1. Return Type of method : A return statement causes the program control to transfer back to the caller of a method. Every method in Java is declared with a return type and it is mandatory for all java methods. A return type may be a primitive type like int, float, double, a reference type or void type(returns nothing).

2. Number of parameters : Basically, the number of parameters in a given layer is the count of “learnable” (assuming such a word exists) elements for a filter aka parameters for the filter for that layer. Parameters in general are weights that are learnt during training.

3. Parameter data type : The data type of a parameter is specific to the . NET Framework data provider. Specifying the type converts the value of the Parameter to the . NET Framework data provider type before passing the value to the data source.

Was it helpful

Similar questions