answersLogoWhite

0

How methods with multiple parameters are declared?

Updated: 12/8/2022
User Avatar

R4rbuttercup00

Lvl 1
6y ago

Best Answer

The same as in C, with a comma-separated list of formal arguments enclosed in parenthesis.

User Avatar

Wiki User

6y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

6y ago

The way you declare them depends on the programming language used.

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How methods with multiple parameters are declared?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Do void methods have parameters?

A void method is just like any other method; it may or may not have parameters.


Can an abstract method be declared static?

Yes. Abstract methods can be declared static


How do you overload static methods in java?

Just create two methods with the same name, but with different types or numbers of parameters.


What are the methods in estimation?

There are a few methods in estimation. Like framework, unknown parameters, empirical dist and substitution principle most of these methods can be used using substitution principles.


In visible surface detection methods what are the parameters ABCD?

i will tell when i have leraned. i will tell when i have leraned.


What are the three general methods for passing parameters to the operating system?

Stacks, pointers and registers


How do you prevent inheritance in java?

If a class is declared as final, you can't inherit from it. If individual methods are declared final, then, if the class is inherited, these methods can't be changed in the inherited classes.


What is an operator overloading in C?

one function but multiple behaviours depending on the parameters


Is a volcano a chemical?

It's Physical, as a result multiple geological parameters such as pression...


How do you create functions with multiple parameters in C plus plus?

Random example, function with two parameters: int main (int argc, char **argv) {...}


How do you overload a method?

Just create two or more methods with the same name, but with a different set of parameters.


Describe three general methods for passing parameters to the operating system?

1) Pass parameters using registers(directly). 2) Store the parameters in a table in memory and the table address is passed in a register to the OS. 3) Push(store) the parameters onto a stack(by the program) and "pop" off by the Operating System.