Computer Science, asked by gomesajay3997, 1 year ago

A function can have more than one parameter. values of the parameters are passed to the function when it is called. true ofr flase

Answers

Answered by Anonymous
4
hey mate here is ur ans

it is TRUE

FOR EG

import java. io. *;
import java. until. Scanner;
public class Brainly
{
public static void main(String args[])
{
int a, b,r;
Scanner sc=new Scanner (System. in);
PrintWriter pw=new PrintWriter(System.out,true);
pw. println("enter two numbers ");
a=sc.nextInt();
b=sc.nextInt();
r=ob.passing(a,b);
pw. println ("the sum of a and b"+r);
}
public int passing (int a, int b)
{
int r;
r=a+b;
return r;
}
}

hope it helps u
Similar questions