answersLogoWhite

0

What is overloaded subprogram?

Updated: 12/20/2022
User Avatar

Wiki User

11y ago

Best Answer

subprogram overloading is a process of using the same (function) name for many subprograms. the overloaded subprograms may differ in the number, type or order of its its parameters.java, c++ and c# provides the feature of subprogram overloading .

when an overloaded subprogram is called,java or c++ compiler first checks the subprogram name and then the number and type of parameters are analyzed to decide which version of the overloaded subprogram must be chosen for execution. this process is also known as 'polymorphism'.

the return type of a subprogram has no affect on subprogram overloading whereas it is used to differentiate between the calls in ADA. hence,two overloaded functions in ADA can have the same parameter profile with different return values.

User Avatar

Wiki User

11y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is overloaded subprogram?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Which is an example of a PLSQL subprogram?

A PL/SQL subprogram is equivalent to a procedure or function in conventional procedural programming.


What is the linker?

linker is a subprogram,its written by one user and one source code file will exit. linker is a subprogram,its written by one user and one source code file will exit.


When was The Overloaded Man created?

The Overloaded Man was created in 1967.


When was The Overloaded Ark created?

The Overloaded Ark was created in 1953.


Why function in VHDL?

A function is a subprogram written in VHDL. This program can be called and used in other programs.


How many pages does The Overloaded Man have?

The Overloaded Man has 158 pages.


Can static method can be overloaded or not?

Yes, a static method may be overloaded.


Does a subprogram always return a value to the program or subprogram that calls it?

No. In some languages PROCEDUREs don't return a value, FUNCTIONs do; in C (and derivatives) return-type void means no return value. Example:void Hello (const char *msg) { puts (msg); }


What type of failure might blow the fuses?

A dead short to ground or an overloaded circuit.A dead short to ground or an overloaded circuit.


Is it possible to override overloaded methods why?

Yes. Overloaded methods are also Java methods and all Java methods can be overridden.


Is printf and scanf overloaded?

No, they are variadic.


Is a characteristic of an overloaded boat?

Handles poorly