G
G
Grigory KOVALENKO2018-10-19 20:56:10
IT terminology
Grigory KOVALENKO, 2018-10-19 20:56:10

How is it called in functions, classes?

I really apologize for this question, I'm very ashamed! It just got out of my head, I don't remember what it's called. I am not a programmer, and I do not dare to call myself one, but I urgently need to remember what it is called).
There is such a thing in classes / functions as the choice of a function depending on how many arguments were passed to it) Perhaps I mixed up classes and functions. For example:
There are two functions/classes with the same name
Send(a,b)
Send(a,b,c,d)
This is how it is called when the function is called the same but you can pass a different number of parameters. In my opinion, I saw this in java)

Answer the question

In order to leave comments, you need to log in

2 answer(s)
J
jcmvbkbc, 2018-10-19
@otwebsafe

what is it called when the function is called the same but you can pass a different number of parameters

Overloading.

B
bbkmzzzz, 2018-10-19
@bbkmzzzz

Polymorphism

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question