Computer Science, asked by harleen31, 1 year ago

what are parameters used for in java?

Answers

Answered by ADAMSHARIEFF
2
hey,☺
your answer is,
sometimes the function need's more information which can be supplied as a parameter
for example :
static void main(int a,int b)

here a and b are the parameters

ADAMSHARIEFF: ur welcome
Answered by bangaru5
2
public static void main ( int a, int b )...

here a and b are the parameters
Similar questions