Computer Science, asked by pratikkandir4, 11 months ago

What is the outpit of:-
1) void add(int a, int b)
{
int c=a+b;
System.out.println (c );
}
void add(String a, String b)
{
String c=a+b;
System.out.println (c) ;
}
If i. add(“amit”, “arun”) is invoked ii. add(4,12) is invoked

2) void find(int a,int b)
{
int p=1;
for(int j=1;j<=b;j++)
p=p*a;
System.out.println(p);
}
if find(5,3) is invoked

Answers

Answered by ankit486243
0

Answer:

question of dthhcfdfuhcdssdgbnhj

Similar questions