explain function arguments with the help of an


Explain function arguments with the help of an example?

Arguments on a function are comma separated list of data enclosed within braces. It describes interface among the web page and the function. Arguments values are passed to the function through value or by reference. This data that have been passed to function is then used in which function for some specific reasons. Example Function sold (a,b)//a function 2 arguments a and b ........

C=a+b;// here 2 arguments that have been passed to functions are being used return c;}

sum1=add (2,4);// the function is being called with 2 integer arguments 2 and 4 sum2=add(9,6);// the function is being called with 2 integer arguments 9 and 6
document. Write(sum1);
document. Write(sum2);

Request for Solution File

Ask an Expert for Answer!!
JAVA Programming: explain function arguments with the help of an
Reference No:- TGS0284045

Expected delivery within 24 Hours